Become method by host group

This commit is contained in:
Fabio Sinibaldi 2026-07-29 18:26:51 +02:00
parent 54026f7a21
commit 2f10f3b5d7
3 changed files with 11 additions and 1 deletions

View File

@ -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=

View File

@ -1,4 +1,12 @@
---
new_sudo:
hosts:
hserve1:
hserve2:
mini1:
distributed:
children:
pangolin:

View File

@ -0,0 +1,2 @@
---
become_exe: sudo.ws