Hi

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}

i put pipeline = True in ssh section :

ssh_args = -o GSSAPIAuthentication=yes -o 
UserKnownHostsFile=/tmp/$USER/ansible/configuration/known_hosts
scp_if_ssh=True
pipelining = true

can someone help me please ?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a69e3771-5c36-4e96-b5e8-b340d01d3f5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to