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?
Answer(s): C
Without being executable. Ansible will attempt to parse the script as a static inventory and fail.
Is it possible to specify multiple inventory files at once?
Answer(s): A
What keyword stores a command's output into a variable?
The register keyword will store output from the preceding command into a provided variable.
What does the lineinfile module do?
The purpose of the lineinfile module is to add lines anywhere in a file passed on a pattern.
Post your Comments and Discuss RedHat EX407 exam with other Community members: