Chapter 8: Simplifying Playbooks with Roles and Collections

Use roles and content collections to develop playbooks more quickly and reuse code.

What you will learn

Sections

  1. Describing role structure
  2. Creating roles
  3. Exercise: Creating roles
  4. Deploying roles from external content sources
  5. Exercise: Deploying roles from external content sources
  6. Getting roles and modules from collections
  7. Exercise: Getting roles and modules from content collections
  8. Reusing content with system roles
  9. Exercise: Reusing content with system roles
  10. Exercise: Simplifying playbooks with roles and content collections
  11. Ansible roles and collections quiz
  12. Ansible roles and collections cheat sheet