diff --git a/changelogs/fragments/set_interface_idempotency.yml b/changelogs/fragments/set_interface_idempotency.yml new file mode 100644 index 000000000..ea2a79050 --- /dev/null +++ b/changelogs/fragments/set_interface_idempotency.yml @@ -0,0 +1,3 @@ +--- +bugfixes: + - ios_ospfv2 - Update documentation to clarify that set_interface parameter is not idempotent as it's not shown in running-config during subsequent playbook runs diff --git a/docs/cisco.ios.ios_ospfv2_module.rst b/docs/cisco.ios.ios_ospfv2_module.rst index 2cd986ce1..6437a26eb 100644 --- a/docs/cisco.ios.ios_ospfv2_module.rst +++ b/docs/cisco.ios.ios_ospfv2_module.rst @@ -3764,6 +3764,7 @@ Parameters
Suppress/Un-Suppress routing updates
+
Since, set_interface when enabled is not shown in running-config idempotency won't be maintained for subsequent playbook runs.
diff --git a/plugins/modules/ios_ospfv2.py b/plugins/modules/ios_ospfv2.py index 6268ce46a..5601d8500 100644 --- a/plugins/modules/ios_ospfv2.py +++ b/plugins/modules/ios_ospfv2.py @@ -766,7 +766,9 @@ type: dict suboptions: set_interface: - description: Suppress/Un-Suppress routing updates + description: + - Suppress/Un-Suppress routing updates + - Since, set_interface when enabled is not shown in running-config idempotency won't be maintained for subsequent playbook runs. type: bool name: description: Name of interface (GigabitEthernet A/B)