You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect Ansible to not execute the command logging trap informational if it is already present on the device.
ACTUAL RESULTS
The command logging trap informational is executed on the device even if it is already present on the device and Ansible marks the task as changed. It should be noted that logging trap informational is not present in show run, but instead present in show run all.
SUMMARY
The
cisco.ios.ios_logging_global
resource module breaks idempotency if thetrap
parameter is set toinformational
.ISSUE TYPE
COMPONENT NAME
cisco.ios.ios_logging_global
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Execute the provided example playbook on a Catalyst device.
EXPECTED RESULTS
I expect Ansible to not execute the command
logging trap informational
if it is already present on the device.ACTUAL RESULTS
The command
logging trap informational
is executed on the device even if it is already present on the device and Ansible marks the task aschanged
. It should be noted thatlogging trap informational
is not present inshow run
, but instead present inshow run all
.The text was updated successfully, but these errors were encountered: