ansible_cache/ios_devices/test_show_version.yml

19 lines
373 B
YAML
Raw Normal View History

---
- name: Test playbook - reads and prints device info
2022-05-07 15:54:22 +00:00
hosts: baguleykit
gather_facts: false
connection: network_cli
roles:
- common
tasks:
- name: Run "show version" command on devices
ios_command:
commands: show version
register: output
- name: Print the output of "show version"
debug:
var: output.stdout_lines