Review questions

Do you think you've understood this chapter well enough? Try answering the following questions to test your understanding:

  1. Which statement in Ansible replaces the for loop?
  2. How is the with_____ statement used to iterate dictionaries?
  3. How would you add a statement to a template that prints when, and by whom, it was modified?
  4. How would you print the values of a nested hash?

Get Ansible Playbook Essentials 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.