Having everything related to the Apache management in the single Playbook is convenient to a degree, as we have just one file to work with. It is this single file that also provides us with a large and complex amount of data in the one place. By creating smaller code elements, we not only simplify the code, but we also allow for possible code reuse. We will spend our time in this chapter investigating a new command to us, ansible-galaxy, which we use to manage roles. In doing so we may ...
12. Simplifying Playbooks Using Roles
Get Red Hat Certified Engineer (RHCE) Study Guide: Ansible Automation for the Red Hat Enterprise Linux 8 Exam (EX294) 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.