Hello,

> It's not necessary to use the "vars:" directive in the files. 
> See "Organizing host and group variables" 
>
> https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html#organizing-host-and-group-variables
>  
>
> # group_vars/all 
> remote_user: ansible 
> become: yes 
> become_method: sudo 
>
> Cheers, 
>
>         -vlado 
>

I changed per advice.  Here is my changed file:

---
# group_vars/all

remote_user: ansible
become: yes
become_method: sudo

However, this doesn't work either. I got same Permission Denied error like 
my previous run

- Xinhuan Zheng

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c0f93f0f-315a-47f5-a645-17a35bd7ae82%40googlegroups.com.

Reply via email to