Added become_exe and become_flags docs (#19554)
* Added become_exe and become_flags docs * Minor edits
This commit is contained in:
parent
98e2d37c45
commit
341cf290d3
1 changed files with 4 additions and 0 deletions
|
@ -279,6 +279,10 @@ ansible_become_user
|
|||
Equivalent to ``ansible_sudo_user`` or ``ansible_su_user``, allows to set the user you become through privilege escalation
|
||||
ansible_become_pass
|
||||
Equivalent to ``ansible_sudo_pass`` or ``ansible_su_pass``, allows you to set the privilege escalation password (never store this variable in plain text; always use a vault. See :ref:`best_practices_for_variables_and_vaults`)
|
||||
ansible_become_exe
|
||||
Equivalent to ``ansible_sudo_exe`` or ``ansible_su_exe``, allows you to set the executable for the escalation method selected
|
||||
ansible_become_flags
|
||||
Equivalent to ``ansible_sudo_flags`` or ``ansible_su_flags``, allows you to set the flags passed to the selected escalation method. This can be also set globally in :file:`ansible.cfg` in the ``sudo_flags`` option
|
||||
|
||||
Remote host environment parameters:
|
||||
|
||||
|
|
Loading…
Reference in a new issue