Created
June 3, 2015 01:34
-
-
Save jedelman8/21f906b412dda5c1d482 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", "Ethernet1/9", "Ethernet1/10", "Ethernet1/11", "Ethernet1/12", "Ethernet1/13", "Ethernet1/14", "Ethernet1/15", "Ethernet1/16", "Ethernet1/17", "Ethernet1/18", "Ethernet1/19", "Ethernet1/20", "Ethernet1/21", "Ethernet1/22", "Ethernet1/23", "Ethernet1/24", "Ethernet1/25", "Ethernet1/26", "Ethernet1/27", "Ethernet1/28", "Ethernet1/29", "Ethernet1/30", "Ethernet1/31", "Ethernet1/32", "Ethernet1/33", "Ethernet1/34", "Ethernet1/35", "Ethernet1/36", "Ethernet1/37", "Ethernet1/38", "Ethernet1/39", "Ethernet1/40", "Ethernet1/41", "Ethernet1/42", "Ethernet1/43", "Ethernet1/44", "Ethernet1/45", "Ethernet1/46", "Ethernet1/47", "Ethernet1/48", "Ethernet2/1", "Ethernet2/2", "Ethernet2/3", "Ethernet2/4", "Ethernet2/5", "Ethernet2/6", "Ethernet2/7", "Ethernet2/8", "Ethernet2/9", "Ethernet2/10", "Ethernet2/11", "Ethernet2/12", "Vlan1"], "kickstart_image": "6.1(2)I3(1)", "last_reboot_reason": "Unknown", "modules": [{"model": "N9K-C9396PX", "ports": "48", "status": "active *", "type": "1/10G SFP+ Ethernet Module"}, {"model": "N9K-M12PQ", "ports": "12", "status": "ok", "type": "40G Ethernet Expansion Module"}], "os": "6.1(2)I3(1)", "platform": "Nexus9000 C9396PX Chassis", "power_supply_info": [{"actual_input": "None", "actual_output": "0 W", "model": "N9K-PAC-650W", "number": "1", "status": "Shutdown", "total_capacity": "0 W"}, {"actual_input": "None", "actual_output": "146 W", "model": "N9K-PAC-650W", "number": "2", "status": "Ok", "total_capacity": "649 W"}]}, "changed": false} | |
ok: [n9396-2.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": "N9K2", "interfaces": ["mgmt0", "Ethernet1/1", "Ethernet1/2", "Ethernet1/3", "Ethernet1/4", "Ethernet1/5", "Ethernet1/6", "Ethernet1/7", "Ethernet1/8", "Ethernet1/9", "Ethernet1/10", "Ethernet1/11", "Ethernet1/12", "Ethernet1/13", "Ethernet1/14", "Ethernet1/15", "Ethernet1/16", "Ethernet1/17", "Ethernet1/18", "Ethernet1/19", "Ethernet1/20", "Ethernet1/21", "Ethernet1/22", "Ethernet1/23", "Ethernet1/24", "Ethernet1/25", "Ethernet1/26", "Ethernet1/27", "Ethernet1/28", "Ethernet1/29", "Ethernet1/30", "Ethernet1/31", "Ethernet1/32", "Ethernet1/33", "Ethernet1/34", "Ethernet1/35", "Ethernet1/36", "Ethernet1/37", "Ethernet1/38", "Ethernet1/39", "Ethernet1/40", "Ethernet1/41", "Ethernet1/42", "Ethernet1/43", "Ethernet1/44", "Ethernet1/45", "Ethernet1/46", "Ethernet1/47", "Ethernet1/48", "Ethernet2/1", "Ethernet2/2", "Ethernet2/3", "Ethernet2/4", "Ethernet2/5", "Ethernet2/6", "Ethernet2/7", "Ethernet2/8", "Ethernet2/9", "Ethernet2/10", "Ethernet2/11", "Ethernet2/12", "Vlan1"], "kickstart_image": "6.1(2)I3(1)", "last_reboot_reason": "Unknown", "modules": [{"model": "N9K-C9396PX", "ports": "48", "status": "active *", "type": "1/10G SFP+ Ethernet Module"}, {"model": "N9K-M12PQ", "ports": "12", "status": "ok", "type": "40G Ethernet Expansion Module"}], "os": "6.1(2)I3(1)", "platform": "Nexus9000 C9396PX Chassis", "power_supply_info": [{"actual_input": "None", "actual_output": "0 W", "model": "N9K-PAC-650W", "number": "1", "status": "Shutdown", "total_capacity": "0 W"}, {"actual_input": "None", "actual_output": "142 W", "model": "N9K-PAC-650W", "number": "2", "status": "Ok", "total_capacity": "649 W"}]}, "changed": false} | |
TASK: [template src=templates/facts.j2 dest=files/facts/{{ inventory_hostname }}_facts.json] *** | |
fatal: [n9396-2.networktocode.com] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'ansible_facts' is undefined", 'failed': True} | |
fatal: [n9396-2.networktocode.com] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'ansible_facts' is undefined", 'failed': True} | |
fatal: [n9396-1.networktocode.com] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'ansible_facts' is undefined", 'failed': True} | |
fatal: [n9396-1.networktocode.com] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'ansible_facts' is undefined", 'failed': True} | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/home/cisco/meetup.retry | |
n9396-1.networktocode.com : ok=1 changed=0 unreachable=1 failed=0 | |
n9396-2.networktocode.com : ok=1 changed=0 unreachable=1 failed=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment