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

Published on Author gryzli

The problem My playbook task was looking like this: – name: Execute simple command command: /some/simple/commmand 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 =… Continue reading Ansible – Failing playbook with Error: AttributeError: ‘str’ object has no attribute ‘format’