© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
V. SestoPractical Ansiblehttps://doi.org/10.1007/978-1-4842-8643-2_3

3. Extending Playbooks with Roles and Templates

Vincent Sesto1  
Auckland, New Zealand

At the end of the last chapter, we had a quick look at how we can start to organize our playbooks to allow them to grow while still being able to keep some control over how they’re organized. We discussed how you can use import and include as part of our playbooks to use and reuse other playbooks we have created previously within new playbooks.

This may not seem too important now, but our environment only consists of two servers currently. What we need is a standard way to organize each piece of our environment ...

Get Practical Ansible: Configuration Management from Start to Finish 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.