diff --git a/changelogs/fragments/61431-ce_interface_ospf-to-fix-bugs.yml b/changelogs/fragments/61431-ce_interface_ospf-to-fix-bugs.yml new file mode 100644 index 0000000000..58ac09307f --- /dev/null +++ b/changelogs/fragments/61431-ce_interface_ospf-to-fix-bugs.yml @@ -0,0 +1,2 @@ +bugfixes: +- ce_interface_ospf- update to fix some bugs - Add some update statements. (https://github.com/ansible/ansible/pull/61431) diff --git a/lib/ansible/modules/network/cloudengine/ce_interface_ospf.py b/lib/ansible/modules/network/cloudengine/ce_interface_ospf.py index 8594ded6a8..02901b7b07 100644 --- a/lib/ansible/modules/network/cloudengine/ce_interface_ospf.py +++ b/lib/ansible/modules/network/cloudengine/ce_interface_ospf.py @@ -474,7 +474,7 @@ class InterfaceOSPF(object): # interface view self.updates_cmd.append("interface %s" % self.interface) - self.updates_cmd.append("ospf enable process %s area %s" % ( + self.updates_cmd.append("ospf enable %s area %s" % ( self.process_id, self.get_area_ip())) if self.cost: xml_intf += CE_NC_XML_SET_COST % self.cost