I am getting some strange errors when trying to run ansible against some new ubuntu 14.04 boxes. I am using roles that I have already used before and had no issues. I have tried several different roles (including a simple one that simply has a debug message) to no avail. I can still run ansible against everything else in my environment (ubuntu 12.04 boxes) as well as a test 14.04 ubuntu box on vultr.
As you can see, it seems to be erring at the gathering facts stage.
`
PLAY [Deploy common roles] ****************************************************
GATHERING FACTS ***************************************************************
fatal: [192.168.1.9] => Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/ansible/runner/init.py”, line 590, in _executor
exec_rc = self._executor_internal(host, new_stdin)
File “/usr/lib/python2.7/site-packages/ansible/runner/init.py”, line 792, 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/site-packages/ansible/runner/init.py”, line 1025, in _executor_internal_inner
result = handler.run(conn, tmp, module_name, module_args, inject, complex_args)
File “/usr/lib/python2.7/site-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/site-packages/ansible/runner/init.py”, line 555, in _execute_module
res = self._low_level_exec_command(conn, cmd, tmp, sudoable=sudoable, in_data=in_data)
File “/usr/lib/python2.7/site-packages/ansible/runner/init.py”, line 1173, in _low_level_exec_command
in_data=in_data)
File “/usr/lib/python2.7/site-packages/ansible/runner/connection_plugins/ssh.py”, line 353, in exec_command
stdin.write(self.runner.sudo_pass + ‘\n’)
TypeError: unsupported operand type(s) for +: ‘int’ and ‘str’
TASK: [common | Install basic cli apps] ***************************************
FATAL: no hosts matched or all hosts have already failed – aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/shaun/site.retry
192.168.1.9 : ok=0 changed=0 unreachable=1 failed=0
`