AWS DevOps Engineer Professional DOP-C01 – Question465

If a variable is assigned in the `vars' section of a playbook, where is the proper place to override that variable?

A.
Inventory group var
B. playbook host_vars
C. role defaults
D. extra vars

Correct Answer: D

Explanation:

Explanation:
In Ansible’s variable precedence, the highest precedence is the extra vars option on the command line.
Reference:
http://docs.ansible.com/ansible/playbooks_variables.html#variable-p…