Fix name of utility "nologin" (#69207)

The utility is `nologin`, not 'no login'. Fix this on the page about Become. In the example further down below it is spelled correctly.
This commit is contained in:
Andreas Bühmann 2020-05-05 00:40:44 +02:00 committed by GitHub
parent c52121f4c9
commit 1a5bbfbe01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ become_method
(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.
(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 nologin. Added in Ansible 2.2.
For example, to manage a system service (which requires ``root`` privileges) when connected as a non-``root`` user, you can use the default value of ``become_user`` (``root``):