diff options
author | John R Barker <john@johnrbarker.com> | 2016-09-02 13:47:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-02 13:47:48 +0100 |
commit | b0335b5ebd5a6d36fa151141924bdc18a202f0ea (patch) | |
tree | ff0a187193502ecbfb81e99d017cb2408bd82e1e | |
parent | 9963ae1d3ecf3e0abf5cf93f1e74d3772e420588 (diff) | |
download | ansible-b0335b5ebd5a6d36fa151141924bdc18a202f0ea.tar.gz |
become_flags is a 2.2 feature
A user got bitten when become_flags didn't work as we hadn't stated it's a 2.2 feature
-rw-r--r-- | docsite/rst/become.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docsite/rst/become.rst b/docsite/rst/become.rst index 82a63a8ce4..c94e1dab0e 100644 --- a/docsite/rst/become.rst +++ b/docsite/rst/become.rst @@ -32,7 +32,7 @@ become_method (at play or task level) overrides the default method set in ansible.cfg, set to `sudo`/`su`/`pbrun`/`pfexec`/`doas`/`dzdo`/`ksu` become_flags - (at play or task level) permit to use specific flags for the tasks or role. One common use is to change user to nobody when the shell is set to no login + (at play or task level) permit to use specific flags for the tasks or role. One common use is to change user to nobody when the shell is set to no login. Added in Ansible 2.2 For example, to manage a system service (which requires ``root`` privileges) when connected as a non-``root`` user (this takes advantage of the fact that the default value of ``become_user`` is ``root``):: |