Review questions
Do you think you've understood the chapter well enough? Try answering the following questions to test your understanding:
- Roles contain ___ and ___ subdirectories to specify variables/parameters.
- How do you specify a dependency on another role?
- When we add roles to a play, why is it not required that we use the
include
directives? How do the tasks, handlers, and so on, get added to the play automatically? - Why do we have a separate section for handlers if they resemble regular tasks?
- Which module can be used to copy over static files to destination hosts?
- How do you specify the tasks to be run before applying a role in a playbook?