Cisco IOS command module

This module helps its users to send commands to a Cisco device running IOS, either a router, a switch, an access-point, or firewall. This module also has the option of making the task wait for a condition before returning with a timeout. The following is an example of a playbook showing command execution on a Cisco device:

- name: check on the switch network interfaces status
ios_command:
commands: show interfaces brief
wait_for: result[0] contains Loopback0
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.134.87.95