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
Upon a successful cli_config run the module returns the 'commands' variable which lists the commands that were sent to the device.
If one of those commands fails, say the 3rd command, no commands variable is returned.
This fails to let the user know which commands may have been sent to the device.
ISSUE TYPE
Feature Idea
COMPONENT NAME
ansible.netcommon.cli_config
ADDITIONAL INFORMATION
This would solve issues when using the cli_config module and trying to guess which commands were or were not sent upon failure.
task:
ansible.netcommon.cli_config:
commands = |snmp-server community testsnmp-bad commandsnmp-server community test2
Module should return snmp-server community test in commands list. Perhaps even add a failed_commands list?
The text was updated successfully, but these errors were encountered:
SUMMARY
Upon a successful cli_config run the module returns the 'commands' variable which lists the commands that were sent to the device.
If one of those commands fails, say the 3rd command, no commands variable is returned.
This fails to let the user know which commands may have been sent to the device.
ISSUE TYPE
COMPONENT NAME
ansible.netcommon.cli_config
ADDITIONAL INFORMATION
This would solve issues when using the cli_config module and trying to guess which commands were or were not sent upon failure.
Module should return snmp-server community test in commands list. Perhaps even add a failed_commands list?
The text was updated successfully, but these errors were encountered: