I have a simple playbook with a ping action. This action works fine on one group of machines, but does not on another. Here is the error:
fatal: [192.168.197.128] => failed to parse: Traceback (most recent call last):
File “//Users/ansible/.ansible/tmp/ansible.AaZh7c/setup”, line 351, in
for (k, v) in ansible_facts().items():
File “//Users/ansible/.ansible/tmp/ansible.AaZh7c/setup”, line 308, in ansible_facts
get_network_facts(facts)
File “//Users/ansible/.ansible/tmp/ansible.AaZh7c/setup”, line 239, in get_network_facts
facts[‘interfaces’] = get_interfaces()
File “//Users/ansible/.ansible/tmp/ansible.AaZh7c/setup”, line 225, in get_interfaces
‘iL’, length, names.buffer_info()[0])
IOError: [Errno 102] Operation not supported on socket
TASK: [push developer.ini to proper location] *********************
no hosts matched or remaining
PLAY RECAP *********************
192.168.197.128 : ok= 0 changed= 0 unreachable= 1 failed= 0
I can ping this ip, and ssh to it using the user specified in the playbook. What else can I do to debug this?
Thanks,
Nathan