Hi Guys,
I’ve set up a Playbook to update ACLs on few servers (one running Gentoo, the others are CentOS). The Playbook works fine for the CentOS machines, but fails for the Gentoo one, here’s the error:
failed: [gsqtest] => {“failed”: true, “parsed”: false}
BECOME-SUCCESS-zizdmceeozmgzqpqixbpxrpnjjkfzghn
File “/home/testuser/.ansible/tmp/ansible-tmp-1435069044.18-160883359153300/service”, line 417
except IOError, err:
^
SyntaxError: invalid syntax
debug1: mux_client_request_session: master session id: 2
Shared connection to gsqtest closed.
FATAL: all hosts have already failed – aborting
The Playbook has 2 tasks, the first finishes ok, the second one, which is to restart a service, fails.
Any idea what might be the issue?
Regards,
Dimitar