August 2015
Intermediate to advanced
168 pages
3h 32m
English
In the previous chapter, we created a simple playbook with all plays written inside the same file. After discovering new and exciting information about roles, we will start refactoring our code and making it modular.
We have written two plays in the simple_playbook.yml file. We intended to run the first play on all hosts. This play has tasks to create users, install essential packages, and so on:

It's a good practice to combine all such essential tasks and create a base role. You can name it as base, common, essential, or whatever you please, but the concept remains the same. We will ...
Read now
Unlock full access