Observe the details of the following dynamic inventory file.
$ ls -l dynamic.py -rw-rw-r–. 1 user user 1928 Mar 30 08:21 dynamic.py
Why will this inventory file cause the ansible command to fail?
A. Ansible cannot use python scripts as inventories.
B. The ansible user must own the file.
C. The file is not executable.
D. The ansible command will not fail using the noted file with the given details.
Explanation:
Without being executable. Ansible will attempt to parse the script as a static inventory and fail.