Set become_flags in ansible.cfg
Some users don’t have a login shell.
This commit is contained in:
parent
dbdf88fe36
commit
c42f9ae1f9
2 changed files with 1 additions and 1 deletions
|
@ -5,3 +5,4 @@ remote_user = root
|
|||
|
||||
[privilege_escalation]
|
||||
become_method = su
|
||||
become_flags = -s /bin/sh -l
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue