O'Reilly logo

OpenStack Administration with Ansible by Walter Bentley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Coding the playbook and roles

In this section, we will now create the playbook and roles to generate our cloud health report. Once the playbook is executed, the output and end result will be a single report with some of the monitoring checks that we reviewed in the previous section. Just as shown in the last chapter, the report can be saved into a directory of your choice. This time around, we have broken up the tasks into three roles in order to keep things simple. Let's review each role in the following sections:

cloud-infra-check

The first role that we will create will include the tasks needed to set up the foundation for the cloud health report. The name of the file will be main.yml located within the role directory named cloud-infra-check/tasks ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required