EX407 Exam Question 31

Consider the following file.
authors:
- joe
- john
editors:
-frank
managers:
editing: josh
authoring: sam
How many lists are defined in the provided file?
  • EX407 Exam Question 32

    Which of these are valid as the first thing in a playbook? (Choose all that apply.)
  • EX407 Exam Question 33

    Create a file called packages.yml in /home/sandy/ansible to install some packages for the following hosts. On dev, prod and webservers install packages httpd, mod_ssl, and mariadb. On dev only install the development tools package. Also, on dev host update all the packages to the latest.

    EX407 Exam Question 34

    Create a playbook called regulartasks.yml which has the system that append the date to /root/datefile every day at noon. Name is job 'datejob'

    EX407 Exam Question 35

    Create the users in the fileusersjist.ymlfile provided. Do this in a playbook called users.yml located at
    /home/sandy/ansible.The passwords for these users should be set using thelock.ymlfile from TASK7. When running the playbook, the lock.yml file should be unlocked withsecret.txtfile from TASK 7.
    All users with the job of 'developer' should be created on thedevhosts, add them to the group devops, their password should be set using thepw_devvariable. Likewise create users with the job of 'manager' on theproxy host and add the users to the group 'managers', their password should be set using thepw_mgrvariable.