Questions

  1. What is the name of the variable that is registered using the gather_facts option, which contains the date and time our playbook was executed?
  2. True or false: Ansible automatically figures out which task it needs to execute, meaning we don't have to define any logic ourselves.
  3. Explain why we have to use the local_action module.
  4. Which command do we prepend to our ansible-playbook command to record how long our command took to execute?
  5. True or false: When using autoscaling, you have to manually launch EC2 instances.
  6. Update the playbook so that it gives you the public URL of the Elastic Load Balancer at the end of the playbook run.

Get Learn Ansible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.