Trying to create a server fails with following log:
2014-02-03 09:39:25 - Failure on host testserver3: Traceback (most recent call last):
File "/home/devops/.ansible/tmp/ansible-1391420349.54-164287893438698/lineinfile", line 1255, in <module>
main()
File "/home/devops/.ansible/tmp/ansible-1391420349.54-164287893438698/lineinfile", line 319, in main
ins_aft, ins_bef, create, backup, backrefs)
File "/home/devops/.ansible/tmp/ansible-1391420349.54-164287893438698/lineinfile", line 225, in present
lines.append(line + os.linesep)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
2014-02-03 09:39:09 - Internal task starting: Ensure locales are being used
Trying to create a server fails with following log:
It seems this commit https://github.com/devo-ps/devops-ansible/commit/92022c11007bb7ee1d2f93bf65b5a5bc81fecf89 causes the problem.