Become method by host group
This commit is contained in:
parent
54026f7a21
commit
2f10f3b5d7
|
|
@ -444,7 +444,7 @@ interpreter_python=auto_silent
|
|||
;become_ask_pass=False
|
||||
|
||||
# (string) executable to use for privilege escalation, otherwise Ansible will depend on PATH.
|
||||
become_exe=sudo.ws
|
||||
;become_exe=sudo.ws
|
||||
|
||||
# (string) Flags to pass to the privilege escalation executable.
|
||||
;become_flags=
|
||||
|
|
|
|||
|
|
@ -1,4 +1,12 @@
|
|||
---
|
||||
new_sudo:
|
||||
hosts:
|
||||
hserve1:
|
||||
hserve2:
|
||||
mini1:
|
||||
|
||||
|
||||
|
||||
distributed:
|
||||
children:
|
||||
pangolin:
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
become_exe: sudo.ws
|
||||
Loading…
Reference in New Issue