i’m trying to run may first playbook with become_user : cftadmin and i got this error msg :
fatal: [ANS_IAWGAP01]: FAILED! => {“changed”: false, “module_stderr”: “Failed to add the host to the list of known hosts (/tmp/$USER/ansible/configuration/known_hosts).\r\nSorry, user C405372 is not allowed to execute ‘/bin/sh -c echo BECOME-SUCCESS-yzuuugnflqcoylvtkjanapdugeokgrat; /usr/bin/python’ as cftadmin on iawgap01.\n”, “module_stdout”: “”, “msg”: “MODULE FAILURE”, “rc”: 1}
Looks like the youtube link is not displayed properly in the post because the admin might have removed it. In youtube, you can search for “Ansible Installation & Configuration on AWS | Ansible basics | install & configure Ansible on EC2” topic by Valaxy Technologies.