>
> I am running it as me (userid: ingunawa) like this "ansible-playbook -i 
> hosts jenkins-master.xml --limit <hostname> -k -K"
>

I have sudo permission on the target machine/VM.  I can create/copy file to 
/etc/init.d as root and create/copy file to the other directory owned by 
the other user (generic user) owning/running Jenkins. 

May I know how Template is used ideally with "become".  The become_method 
by default is "sudo".
The default "become_user" is root I believe.

Thank you

-- 
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/d3ba1b18-abbf-4368-a221-774efc4570f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to