Ansible Privilege Escalation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 11: Line 11:
</syntaxhighlight>
</syntaxhighlight>
=Task-Level Privilege Escalation=
=Task-Level Privilege Escalation=
See: {{Ansible_Concepts#become|Task &#124; become configuration element}}
See: {{Internal|Ansible_Concepts#become|Task &#124; become configuration element}}


=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:17, 13 April 2021

External

Internal

Overview

To ask for privilege escalation password, use:

ansible-playbook --ask-become-pass

Task-Level Privilege Escalation

See:

Task | become configuration element

Become Plugins

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