Skip to content

Instantly share code, notes, and snippets.

cisco@onepk:~/ansible/interop$ ansible-playbook meetup.yml -v
PLAY [meetup playbook] ********************************************************
TASK: [nxos_get_facts host={{ inventory_hostname }}] **************************
ok: [n9396-1.networktocode.com] => {"ansible_facts": {"fan_info": [{"direction": "front-to-back", "hw_ver": "--", "model": "N9K-C9300-FAN2", "name": "Fan1(sys_fan1)", "status": "None"}, {"direction": "front-to-back", "hw_ver": "--", "model": "N9K-C9300-FAN2", "name": "Fan2(sys_fan2)", "status": "None"}, {"direction": "front-to-back", "hw_ver": "--", "model": "N9K-C9300-FAN2", "name": "Fan3(sys_fan3)", "status": "None"}, {"direction": "front-to-back", "hw_ver": "--", "model": "--", "name": "Fan_in_PS1", "status": "None"}, {"direction": "front-to-back", "hw_ver": "--", "model": "--", "name": "Fan_in_PS2", "status": "None"}], "hostname": "N9K1", "interfaces": ["mgmt0", "Ethernet1/1", "Ethernet1/2", "Ethernet1/3", "Ethernet1/4", "Ethernet1/5", "Ethernet1/6", "Ethernet1/7", "Ethernet1/8", "E