Ansible - Become (privilege escalation)

> Infrastructure as code > Ansible

1 - About

become is an interface where plugins are implemented to give more privilege to the connected user (''ansible_user'')

3 - Configuration

for escalation authentication

  • ansible_become=yes
  • ansible_become_user=install_user
  • ansible_become_pass=welcome1
  • ansible_become_method=sudo
  • ansible_sudo_pass=password
Advertising

4 - List

5 - Documentation