ansible_cache/ios_devices/test_show_version.yml

19 lines
370 B
YAML
Raw Normal View History

---
- name: Test playbook - reads and prints device info
hosts: homekit
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