try become, this way
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
parent
d553bc210d
commit
fe773d3360
1 changed files with 4 additions and 1 deletions
|
@ -1,2 +1,5 @@
|
||||||
# For Fedora instances, we want to ssh as 'fedora', not as 'root'
|
# For Fedora instances, we want to ssh as 'fedora', not as 'root'
|
||||||
#ansible_ssh_user: fedora
|
ansible_ssh_user: fedora
|
||||||
|
ansible_become: true
|
||||||
|
ansible_become_user: root
|
||||||
|
ansible_become_method: sudo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue