Red Hat Certified Specialist in Ansible Automation — Question 3
Which of the following are valid default locations for Ansible configuration? (Choose all that apply.)
Answer options
- A. etc/ansible/ansible.cfg
- B. ${HOME}/.ansible.cfg
- C. ${ANSIBLE_CONFIG}
- D. /etc/ansible/config
Correct answer: A, B, C
Explanation
The options A, B, and C are valid default locations for Ansible configuration files. Option A refers to the system-wide configuration, B is for user-specific configuration, and C allows for a custom path set via the ANSIBLE_CONFIG environment variable. Option D is incorrect as it contains a typo and should refer to /etc/ansible/ansible.cfg.