Flip default for AGNOSTIC_BECOME_PROMPT (#45563)

* Flip default for AGNOSTIC_BECOME_PROMPT

* simplify AGNOSTIC_BECOME_PROMPT porting guide entry

* clarify AGNOSTIC_BECOME_PROMPT changelog entry

* fixes version typo

* uses alternate wording (rather than escaping *)
This commit is contained in:
Matt Martz 2018-09-14 11:16:13 -05:00 committed by GitHub
parent d383d87b22
commit 829f48e3f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 2 deletions

View file

@ -20,6 +20,26 @@ Playbook
No notable changes.
Command Line
============
Become Prompting
----------------
Beginning in version 2.8, by default Ansible will use the word ``BECOME`` to prompt you for a password for elevated privileges (``sudo`` privileges on unix systems or ``enable`` mode on network devices):
By default in Ansible 2.8::
ansible-playbook --become --ask-become-pass site.yml
BECOME password:
If you want the prompt to display the specific ``become_method`` you're using, instead of the agnostic value ``BECOME``, set :ref:`AGNOSTIC_BECOME_PROMPT` to ``False`` in your Ansible configuration.
By default in Ansible 2.7, or with ``AGNOSTIC_BECOME_PROMPT=False`` in Ansible 2.8::
ansible-playbook --become --ask-become-pass site.yml
SUDO password:
Deprecated
==========