What do you mean by 'show test'?
Did you try when the target machine (your 'testmachine') is set to 
localhost in the inventory?

W dniu środa, 18 marca 2015 14:41:34 UTC użytkownik Brian Coca napisał:
>
> can you show test with the issue at the play level? i cannot 
> reproduce, i used the following: 
>
> - hosts: testmachine 
>   sudo: yes 
>   sudo_user: nobody 
>   tasks: 
>     - template: 
>         src: testfile 
>         dest: /tmp/z 
>         mode: 0600 
> with -vvvv i can see: 
> /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, 
> key=cxwmwhlrjpfrghjcbaabmtadbvgcgouq] password: " -u nobody /bin/sh -c 
> '"'"'echo BECOME-SUCCESS-cxwmwhlrjpfrghjcbaabmtadbvgcgouq; LANG=C 
> LC_CTYPE=C /usr/bin/python 
> /tmp/ansible-tmp-1426689710.81-275921666186925/copy'"'"'' 
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/68286200-0522-403e-bca2-0eb7a231e389%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to