EX407 Exam Question 21

What is wrong with the following command:
ansible all -a "mkdir/tmp/testfile"
  • EX407 Exam Question 22

    What is the url for the official Ansible online documentation?
  • EX407 Exam Question 23

    Which of the following are valid flags for the ansible-playbook command? (Choose all that apply.)
  • EX407 Exam Question 24

    Create a file called specs.empty in home/bob/ansible on the local machine as follows:
    HOST=
    MEMORY=
    BIOS=
    VDA_DISK_SIZE=
    VDB_DISK_SIZE=
    Create the playbook /home/bob/ansible/specs.yml which copies specs.empty to all remote nodes' path/root/specs.txt. Using the specs.yml playbook then edit specs.txt on the remote machines to reflect the appropriate ansible facts.

    EX407 Exam Question 25

    Using the Simulation Program, perform the following tasks:
    1. Use an ansible ad-hoc command, check the connectivity of your servers.
    2. Use an ad-hoc ansible command, find the free space of your servers.
    3. Use an ad-hoc ansible command, find out the memory usage of your servers.
    4. Do an ls -l on the targets /var/log/messages file.
    5. Tail the contents of the targets /var/log/messages file.