0 votes
in Ansible by

What is the purpose of the Ansible playbook keyword “become”?

a) To switch to a different inventory group

b) To switch to a different playbook

c) To switch to a different user or privilege level on the target system

d) To switch to a different playbook directory

1 Answer

0 votes
by
Solution: c) To switch to a different user or privilege level on the target system

Explanation: The Ansible playbook keyword “become” is used to switch to a different user or privilege level on the target system. This is useful when you need to run tasks as a different user or escalate privileges to perform certain actions.
...