Hi all, while trying to run one of our playbook on RH 5.4 (I know, very old ....) I get the following error:
# ansible-playbook -i hosts.local our_playbook.yml --limit=server > --tags=some-users > > PLAY [some.hosts] > *********************************************************** > > GATHERING FACTS > *************************************************************** > failed: [server] => {"failed": true, "parsed": false} > Traceback (most recent call last): > File "/tmp/ansible-tmp-1428493209.39-20760333181803/setup", line 4194, > in ? > main() > File "/tmp/ansible-tmp-1428493209.39-20760333181803/setup", line 137, in > main > data = run_setup(module) > File "/tmp/ansible-tmp-1428493209.39-20760333181803/setup", line 81, in > run_setup > facts = ansible_facts(module) > File "/tmp/ansible-tmp-1428493209.39-20760333181803/setup", line 4133, > in ansible_facts > facts.update(Hardware().populate()) > File "/tmp/ansible-tmp-1428493209.39-20760333181803/setup", line 2319, > in populate > self.get_device_facts() > File "/tmp/ansible-tmp-1428493209.39-20760333181803/setup", line 2514, > in get_device_facts > d[key] = get_file_content(sysdir + "/device/" + key) > File "/tmp/ansible-tmp-1428493209.39-20760333181803/setup", line 4123, > in get_file_content > data = datafile.read().strip() > IOError: [Errno 25] Inappropriate ioctl for device > I tried to debug it with export ANSIBLE_KEEP_REMOTE_FILES=1 and then: python -m trace --trace /tmp/ansible-tmp-1428493209.39-20760333181803/setup > and it hangs: subprocess.py(934): if p2cread: subprocess.py(936): if c2pwrite: subprocess.py(937): os.dup2(c2pwrite, 1) <------------------- HANGS ! Have to CTRL-C it .... setup(1699): except (OSError, IOError), e: setup(1701): except: setup(1702): self.fail_json(rc=257, msg=traceback.format_exc(), cmd=clean_args) --- modulename: traceback, funcname: format_exc Can anybody tell what is wrong with it ? I know that this is very old Red Hat but on another node (even older !) it run without any issue. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3843e6c9-3964-4c62-925d-0386fb33798d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.