Added become_exe and become_flags docs (#19554)

* Added become_exe and become_flags docs

* Minor edits
This commit is contained in:
Andrea Tartaglia 2017-07-26 02:59:57 +01:00 committed by scottb
parent 98e2d37c45
commit 341cf290d3

View file

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