Ansible – Failing playbook with Error: AttributeError: ‘str’ object has no attribute ‘format’

Published on Author gryzliLeave a comment

The problem My playbook task was looking like this:

The error persisted even after changing “command:” to “shell:”   If you happen to hit ansible error like this: failed: [some_host] => {“failed”: true, “parsed”: false} Traceback (most recent call last): File “/root/.ansible/tmp/ansible-tmp-1425474902.88-6397676824195/command”, line 129, in ? PARAM_REGEX = re.compile( AttributeError: ‘str’ object has no… Continue reading Ansible – Failing playbook with Error: AttributeError: ‘str’ object has no attribute ‘format’