Ansible Privilege Escalation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 4: Line 4:
=Internal=
=Internal=
* [[Ansible_Concepts#Privilege_Escalation|Ansible Concepts]]
* [[Ansible_Concepts#Privilege_Escalation|Ansible Concepts]]
=TODO=
<font color=darkgray>
Process and integrate:
* https://docs.ansible.com/ansible/latest/user_guide/become.html
* https://docs.ansible.com/ansible/latest/plugins/become.html#become-plugins
</font>


=Overview=
=Overview=

Latest revision as of 04:30, 13 April 2021

External

Internal

TODO

Process and integrate:

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:

Become Plugins

https://docs.ansible.com/ansible/latest/plugins/become.html#become-plugins