TASK: [Generate broker auth keys] *****
<10.133.1.125> ESTABLISH CONNECTION FOR USER: fedora on PORT 22 TO 10.133.1.125
<10.133.1.125> EXEC /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-1376276027.08-233464919375501 && chmod a+rx $HOME/.ansible/tmp/ansible-1376276027.08-233464919375501 && echo $HOME/.ansible/tmp/ansible-1376276027.08-233464919375501'
fatal: [10.133.1.125] => Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ansible/runner/init.py", line 367, in _executor
exec_rc = self._executor_internal(host, new_stdin)
File "/usr/lib/python2.6/site-packages/ansible/runner/init.py", line 451, 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.6/site-packages/ansible/runner/init.py", line 616, in _executor_internal_inner
result = handler.run(conn, tmp, module_name, module_args, inject, complex_args)
File "/usr/lib/python2.6/site-packages/ansible/runner/action_plugins/script.py", line 45, in run
source = utils.path_dwim_relative(inject['_original_file'], 'files', source, self.runner.basedir)
File "/usr/lib/python2.6/site-packages/ansible/utils/init.py", line 228, in path_dwim_relative
if os.path.exists(source2):
File "/usr/lib64/python2.6/genericpath.py", line 18, in exists
st = os.stat(path)
TypeError: stat() argument 1 must be encoded string without NULL bytes, not str
FATAL: all hosts have already failed -- aborting
Got past this by moving the scripts to instance and running them there
TASK: [Generate broker auth keys] ***** <10.133.1.125> ESTABLISH CONNECTION FOR USER: fedora on PORT 22 TO 10.133.1.125 <10.133.1.125> EXEC /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-1376276027.08-233464919375501 && chmod a+rx $HOME/.ansible/tmp/ansible-1376276027.08-233464919375501 && echo $HOME/.ansible/tmp/ansible-1376276027.08-233464919375501' fatal: [10.133.1.125] => Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/ansible/runner/init.py", line 367, in _executor exec_rc = self._executor_internal(host, new_stdin) File "/usr/lib/python2.6/site-packages/ansible/runner/init.py", line 451, 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.6/site-packages/ansible/runner/init.py", line 616, in _executor_internal_inner result = handler.run(conn, tmp, module_name, module_args, inject, complex_args) File "/usr/lib/python2.6/site-packages/ansible/runner/action_plugins/script.py", line 45, in run source = utils.path_dwim_relative(inject['_original_file'], 'files', source, self.runner.basedir) File "/usr/lib/python2.6/site-packages/ansible/utils/init.py", line 228, in path_dwim_relative if os.path.exists(source2): File "/usr/lib64/python2.6/genericpath.py", line 18, in exists st = os.stat(path) TypeError: stat() argument 1 must be encoded string without NULL bytes, not str
FATAL: all hosts have already failed -- aborting Got past this by moving the scripts to instance and running them there