Hello,
I have:
Red Hat Enterprise Linux Server release 6.7 (Santiago)
Linux x.utu.fi 2.6.32-504.30.3.el6.x86_64 #1 SMP Thu Jul 9 15:20:47 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
ansible --version
ansible 2.0.0
config file = /etc/ansible/ansible.cfg
configured module search path = /etc/ansible/library
cat reproduce.yml
Brian_Coca
(Brian Coca)
2
this will probably be fixed soon, we are trying to introduce a
'unsafe' type into current devel to allow for good data sanitation.
Hi Eino, this appears to be working now:
TASK [foo] *********************************************************************
changed: [localhost] => (item=foo) => {“changed”: true, “cmd”: “true”, “delta”: “0:00:00.002933”, “end”: “2015-09-13 20:38:31.761057”, “item”: “foo”, “rc”: 0, “start”: “2015-09-13 20:38:31.758124”, “stderr”: “”, “stdout”: “”, “stdout_lines”: , “warnings”: }
changed: [localhost] => (item=bar) => {“changed”: true, “cmd”: “true”, “delta”: “0:00:00.003014”, “end”: “2015-09-13 20:38:31.826862”, “item”: “bar”, “rc”: 0, “start”: “2015-09-13 20:38:31.823848”, “stderr”: “”, “stdout”: “”, “stdout_lines”: , “warnings”: }
Let us know if you continue seeing problems with this.
Thanks!
Hi James,
It seems that it’s now working with Python 2.7 on RHEL. The distribution supplied Python (2.6) still produces the same error.