become: yes + become_method: sudo forces teh nginx_user to use root
to execute the tasks. Considering you are restarting a service, this
seems correct.
--
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscri
host_vars/all.yml will not affect 'all hosts', just a host named
'all'. Still the group_vars/all.yml should work, my tests do show it
working, can you provide more info like the full error and -vvv
output?
--
--
Brian Coca
--
You received this message because you are subscribed to the G
Is your issue solved ?
On Tuesday, 25 September 2018 02:04:48 UTC+5:30, myprogra...@gmail.com
wrote:
>
>
> A playbook I ran, returned this failure:
> TASK [create-admin-user : Create the non-root user account]
>
> fatal: [415.791.30.131]: FAILED! => {"msg": "The task include