Ansible Privilege Escalation: Difference between revisions
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
Privilege escalation on a task basis is controlled with the following privilege escalation task configuration attributes: | Privilege escalation on a task basis is controlled with the following privilege escalation task configuration attributes: | ||
* <tt>[[become| | * <tt>[[Ansible_Concepts#become|become]]</tt> | ||
* <tt>[[become_exe| | * <tt>[[Ansible_Concepts#become_exe|become_exe]]</tt> | ||
* <tt>[[become_flags| | * <tt>[[Ansible_Concepts#become_flags|become_flags]]</tt> | ||
* <tt>[[become_method| | * <tt>[[Ansible_Concepts#become_method|become_method]]</tt> | ||
* <tt>[[become_user| | * <tt>[[Ansible_Concepts#become_user|become_user]]</tt> | ||
=Become Plugins= | =Become Plugins= | ||
{{External|https://docs.ansible.com/ansible/latest/plugins/become.html#become-plugins}} | {{External|https://docs.ansible.com/ansible/latest/plugins/become.html#become-plugins}} |
Revision as of 04:23, 13 April 2021
External
Internal
Overview
To ask for privilege escalation password, use:
ansible-playbook --ask-become-pass
Task-Level Privilege Escalation
Privilege escalation on a task basis is controlled with the following privilege escalation task configuration attributes: