diff --git a/docsite/rst/become.rst b/docsite/rst/become.rst index 3a6d696090..93c96d9a3c 100644 --- a/docsite/rst/become.rst +++ b/docsite/rst/become.rst @@ -15,6 +15,8 @@ privilege escalation tools, which you probably already use or have configured, l and execute tasks, create resources with the 2nd user's permissions. As of 1.9 `become` supersedes the old sudo/su, while still being backwards compatible. This new system also makes it easier to add other privilege escalation tools like `pbrun` (Powerbroker), `pfexec` and others. +.. note:: Setting any var or directive makes no implications on the values of the other related directives, i.e. setting become_user does not set become. + Directives ----------- @@ -24,7 +26,7 @@ become set to 'true'/'yes' to activate privilege escalation. become_user - set to user with desired privileges, the user you 'become', NOT the user you login as. + 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' @@ -41,7 +43,7 @@ ansible_become_method allows to set privilege escalation method ansible_become_user - allows to set the user you become through privilege escalation + allows to set the user you become through privilege escalation, does not imply `ansible_become: True` ansible_become_pass allows you to set the privilege escalation password @@ -61,7 +63,7 @@ New command line options valid choices: [ sudo | su | pbrun | pfexec | doas ] --become-user=BECOME_USER - run operations as this user (default=root) + run operations as this user (default=root), does not imply --become/-b For those from Pre 1.9 , sudo and su still work! diff --git a/lib/ansible/modules/core b/lib/ansible/modules/core index 7162623e86..8d126bd877 160000 --- a/lib/ansible/modules/core +++ b/lib/ansible/modules/core @@ -1 +1 @@ -Subproject commit 7162623e8677953bbbc499940f5f7dd19dba680d +Subproject commit 8d126bd877444c9557b1671521516447cc557d3f diff --git a/lib/ansible/modules/extras b/lib/ansible/modules/extras index f5e798f13c..f6c5ed987f 160000 --- a/lib/ansible/modules/extras +++ b/lib/ansible/modules/extras @@ -1 +1 @@ -Subproject commit f5e798f13ca13938db76cc3ede85f0a05b9fc578 +Subproject commit f6c5ed987f7f8ec20ad1d417b4a39ba6bbc5d7bc