I'm using the Ansible PlayBook class in my own Python program. My
playbooks usually run fine but occasionally I get the error below. Can you
give me any hints as to why this is happening? Googling seems to suggest
that it might be related to a time-out. When it fails, it happens pretty
quickly. It doesn't seem like anything should be timing out that soon.
Any hints much appreciated!
GATHERING FACTS
***************************************************************
fatal: [plattsburgh] => Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/ansible/runner/__init__.py", line
532, in _executor
exec_rc = self._executor_internal(host, new_stdin)
File "/usr/lib/python2.7/dist-packages/ansible/runner/__init__.py", line
629, in _executor_internal
return self._executor_internal_inner(host, self.module_name,
self.module_args, inject, port, complex_args=complex_args)
File "/usr/lib/python2.7/dist-packages/ansible/runner/__init__.py", line
815, in _executor_internal_inner
result = handler.run(conn, tmp, module_name, module_args, inject,
complex_args)
File
"/usr/lib/python2.7/dist-packages/ansible/runner/action_plugins/normal.py",
line 57, in run
return self.runner._execute_module(conn, tmp, module_name, module_args,
inject=inject, complex_args=complex_args)
File "/usr/lib/python2.7/dist-packages/ansible/runner/__init__.py", line
411, in _execute_module
tmp = self._make_tmp_path(conn)
File "/usr/lib/python2.7/dist-packages/ansible/runner/__init__.py", line
1020, in _make_tmp_path
result = self._low_level_exec_command(conn, cmd, None, sudoable=False)
File "/usr/lib/python2.7/dist-packages/ansible/runner/__init__.py", line
948, in _low_level_exec_command
in_data=in_data)
File
"/usr/lib/python2.7/dist-packages/ansible/runner/connection_plugins/ssh.py",
line 285, in exec_command
rfd, wfd, efd = select.select(rpipes, [], rpipes, 1)
error: (4, 'Interrupted system call')
TASK: [Remove tree]
***********************************************************
FATAL: no hosts matched or all hosts have already failed -- aborting
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/07e4faf3-6880-4789-866b-11ae541195bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.