added pmrun and enable to become-method (#51009)

* added `pmrun` and `enable` to `become-method`

* references become plugin list for 'become_method' options
This commit is contained in:
Takashi Sugimura 2019-03-12 07:10:42 +09:00 committed by Alicia Cozine
parent 0d7ea0bae6
commit c56a344255

View file

@ -31,7 +31,7 @@ become_user
set to user with desired privileges — the user you `become`, NOT the user you login as. Does NOT imply ``become: yes``, to allow it to be set at host level.
become_method
(at play or task level) overrides the default method set in ansible.cfg, set to `sudo`/`su`/`pbrun`/`pfexec`/`doas`/`dzdo`/`ksu`/`runas`/`machinectl`
(at play or task level) overrides the default method set in ansible.cfg, set to use any of the :ref:`become_plugins`.
become_flags
(at play or task level) permit the use of specific flags for the tasks or role. One common use is to change the user to nobody when the shell is set to no login. Added in Ansible 2.2.
@ -700,4 +700,3 @@ Be aware of the following limitations with ``become`` on Windows:
Questions? Help? Ideas? Stop by the list on Google Groups
`webchat.freenode.net <https://webchat.freenode.net>`_
#ansible IRC chat channel