© Peter Membrey and Shaun R Smith 2022
S. R. Smith, P. MembreyBeginning Ansible Concepts and Applicationhttps://doi.org/10.1007/978-1-4842-8173-4_9

9. Roles: Ansible’s Packing Cubes

Shaun R Smith1   and Peter Membrey2
Hong Kong, New Territories, Hong Kong
Kowloon, Hong Kong

Throughout the book, we have been building up our playbook in a manner akin to grabbing a suitcase and just tossing in all of our clothes, toiletries, and accessories wherever they may fit. That is currently fine as we have only defined a single use case to this point, web servers, but even there we are performing increasingly more ordered tasks with the risk of losing control.

If you’ve never used them, we highly recommend grabbing yourself some packing cubes before your ...

Get Beginning Ansible Concepts and Application: Provisioning, Configuring, and Managing Servers, Applications, and Their Dependencies 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.