Skip to Main Content
Mastering Ansible
book

Mastering Ansible

by Jesse Keating
November 2015
Intermediate to advanced content levelIntermediate to advanced
236 pages
4h 42m
English
Packt Publishing
Content preview from Mastering Ansible

Chapter 5. Composing Reusable Ansible Content with Roles

For many projects, a simple, single Ansible playbook may suffice. As time goes on and projects grow, additional playbooks and variable files are added, and task files may be split out. Other projects within an organization may want to reuse some of the content; either the projects get added to the directory tree or the desired content may get copied between multiple projects. As the complexity and size of the scenario grows, something more than a loosely organized handful of playbooks, task files, and variable files is highly desired. Creating such a hierarchy can be daunting and may explain why many uses of Ansible start simple and only grow into a better organization once the scattered ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Automating with Ansible

Automating with Ansible

Sander van Vugt

Publisher Resources

ISBN: 9781784395483Supplemental Content