/ >/dev/null
2>&1'"'"''
changed: [[the server name]] =>
Le vendredi 16 octobre 2015 17:57:21 UTC+2, Santosh Jambhlikar a écrit :
>
> Try removing all parameters and add "sudo: yes" only ( like below)
>
> ---
> - hosts: all
> sudo
udo apt-get install" something with this user and it works.
Le vendredi 16 octobre 2015 10:08:32 UTC+2, Santosh Jambhlikar a écrit :
>
> I use following which works for me
>
> sudo: yes
>
> but user has sudo to ALL prilvilges
>
> On Thursday, 15 October 2015 21:20:21 U
I'm having trouble executing my script from a user with sudo access instead
of root.
I'm getting "permission denied" errors when playing the playbook, but if I
execute the commands manually on the server it works just fine.
I did use "become" to execute the tasks with sudo and the right user.
T
I'm having trouble executing my script from a user with sudo access instead
of root.
I'm getting "permission denied" errors when playing the playbook, but if I
execute the commands manually on the server it works just fine.
I did use "become" to execute the tasks with sudo and the right user.
T