ansible/test/legacy/roles/cnos_facts/tasks/main.yml

8 lines
392 B
YAML
Raw Normal View History

# This contain sample show sys info tasks
---
- name: Test Sys Info
cnos_facts: host={{ inventory_hostname }} username={{ hostvars[inventory_hostname]['username']}} password={{ hostvars[inventory_hostname]['password']}} enablePassword='{{item.enablePassword}}' outputfile=./results/cnos_facts_{{ inventory_hostname }}_output.txt
with_items: "{{test_showsysinfo_data}}"
# Completed file