patrick@srv-master-1:~/play-ansible$ ansible-playbook -i inventory snmp_facts-playbook.yml -v
ok: [172.29.50.3] => {"ansible_facts": {"ansible_all_ipv4_addresses": ["172.29.50.3", "172.29.52.34"], "ansible_interfaces": {"1": {"adminstatus": "down", "description": "", "ifindex": "1", "mac": "0024f7dd7740", "mtu": "1500", "name": "Vlan1", "operstatus": "down", "speed": "1000000000"}, "10101": {"adminstatus": "up", "description": "", "ifindex": "10101", "mac": "0024f7dd7701", "mtu": "1500", "name": "GigabitEthernet0/1", "operstatus": "down", "speed": "1000000000"}, "10102": {"adminstatus": "up", "description": "TELIA ADSL", "ifindex": "10102", "mac": "0024f7dd7702", "mtu": "1500", "name": "GigabitEthernet0/2", "operstatus": "down", "speed": "10000000"}, "10103": {"adminstatus": "up", "description": "", "ifindex": "10103", "mac": "0024f7dd7703", "mtu": "1500", "name": "GigabitEthernet0/3", "operstatus": "up", "speed": "1000000000"}, "10104": {"adminstatus": "up", "description": "", "ifindex": "10104", "mac": "0024f7dd7704", "mtu": "1500", "name": "GigabitEthernet0/4", "operstatus": "down", "speed": "10000000"}, "10105": {"adminstatus": "up", "description": "", "ifindex": "10105", "mac": "0024f7dd7705", "mtu": "1500", "name": "GigabitEthernet0/5", "operstatus": "up", "speed": "100000000"}, "10106": {"adminstatus": "up", "description": "*** srv-esxi-1 ***", "ifindex": "10106", "mac": "0024f7dd7706", "mtu": "1500", "name": "GigabitEthernet0/6", "operstatus": "up", "speed": "1000000000"}, "10107": {"adminstatus": "up", "description": "", "ifindex": "10107", "mac": "0024f7dd7707", "mtu": "1500", "name": "GigabitEthernet0/7", "operstatus": "down", "speed": "10000000"}, "10108": {"adminstatus": "up", "description": "*** NS2903-ASA-01 ***", "ifindex": "10108", "mac": "0024f7dd7708", "mtu": "1500", "name": "GigabitEthernet0/8", "operstatus": "up", "speed": "100000000"}, "10501": {"adminstatus": "up", "description": "", "ifindex": "10501", "mac": "", "mtu": "1500", "name": "Null0", "operstatus": "up", "speed": "4294967295"}, "20": {"adminstatus": "up", "description": "", "ifindex": "20", "mac": "0024f7dd7741", "mtu": "1500", "name": "Vlan20", "operstatus": "up", "speed": "1000000000"}, "40": {"adminstatus": "up", "description": "", "ifindex": "40", "mac": "0024f7dd7742", "mtu": "1500", "name": "Vlan40", "operstatus": "up", "speed": "1000000000"}, "41": {"adminstatus": "up", "description": "", "ifindex": "41", "mac": "0024f7dd7743", "mtu": "1500", "name": "Vlan41", "operstatus": "up", "speed": "1000000000"}, "5001": {"adminstatus": "up", "description": "", "ifindex": "5001", "mac": "000000000000", "mtu": "1500", "name": "Port-channel1", "operstatus": "down", "speed": "10000000"}}, "ansible_syscontact": "support", "ansible_sysdescr": "Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 15.0(2)SE4, RELEASE SOFTWARE (fc1)\r\nTechnical Support:
http://www.cisco.com/techsupport\r\nCopyright (c) 1986-2013 by Cisco Systems, Inc.\r\nCompiled Wed 26-Jun-13 02:49 by prod_rel_team", "ansible_syslocation": "NS2903", "ansible_sysname": "
NS2903-ASW-01.int.ogenstad.com", "ansible_sysobjectid": "1.3.6.1.4.1.9.1.799", "ansible_sysuptime": "24143432"}, "changed": false}
ok: [172.29.51.2] => {"ansible_facts": {"ansible_all_ipv4_addresses": ["127.0.0.1", "172.29.51.2"], "ansible_interfaces": {"1": {"adminstatus": "up", "ifindex": "1", "mac": "", "mtu": "1500", "name": "LOOPBACK", "operstatus": "up", "speed": "0"}, "2": {"adminstatus": "up", "ifindex": "2", "mac": "001a4b1a1e7c", "mtu": "1500", "name": "NetDrvr", "operstatus": "up", "speed": "10000000"}}, "ansible_syscontact": "", "ansible_sysdescr": "HP ETHERNET MULTI-ENVIRONMENT", "ansible_syslocation": "", "ansible_sysname": "NPI1A1E7C", "ansible_sysobjectid": "1.3.6.1.4.1.11.1", "ansible_sysuptime": "310355"}, "changed": false}