From b0335b5ebd5a6d36fa151141924bdc18a202f0ea Mon Sep 17 00:00:00 2001 From: John R Barker Date: Fri, 2 Sep 2016 13:47:48 +0100 Subject: 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 --- docsite/rst/become.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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``):: -- cgit v1.2.1