AWS DevOps Engineer Professional DOP-C01 – Question458

Which resource cannot be defined in an Ansible Playbook?

A.
Fact Gathering State
B. Host Groups
C. Inventory File
D. Variables

Correct Answer: C

Explanation:

Explanation:
Ansible’s inventory can only be specified on the command line, the Ansible configuration file or in environment variables.
Reference:
http://docs.ansible.com/ansible/intro_inventory.html