New in version 2.8.
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
become_flags - | Default: "" | ini entries: [privilege_escalation] [runas_become_plugin] env:ANSIBLE_BECOME_FLAGS env:ANSIBLE_RUNAS_FLAGS var: ansible_become_flags var: ansible_runas_flags | Options to pass to runas, a space delimited list of k=v pairs |
become_pass - | ini entries: [runas_become_plugin] env:ANSIBLE_BECOME_PASS env:ANSIBLE_RUNAS_PASS var: ansible_become_password var: ansible_become_pass var: ansible_runas_pass | password | |
become_user - / required | ini entries: [privilege_escalation] [runas_become_plugin] env:ANSIBLE_BECOME_USER env:ANSIBLE_RUNAS_USER var: ansible_become_user var: ansible_runas_user | User you 'become' to execute the task |
Note
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
Hint
Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.9/plugins/become/runas.html