3.8 Automation
The automation uses AWX, an OSS. Automation is an extension of the workflow, and by linking it with Playbook, it is possible to automatically execute jobs. The job execution results can also be confirmed.
Using the example of linking the Playbook called “Playbookβ.yaml” that is registered in the GitLab repository to AWX and executing it, the following section shows the procedure required in AWX.
- Registering authentication information
- Setting projects
- Registering inventory
- Registering templates
- Checking job execution results
To perform these registration and configuration operations, you must be a user with a role assigned by the AWX organization that matches each operation.
For details on roles, see “Organization management” and the AWX manual. For information on the AWX manuals, versions and editions, see “OSS version/edition and reference manuals” in the Appendix. In addition, for organization outlines, information on creating organizations and assigning roles, see “Configuring organization” and “Organization management”.
For information on how to register Playbook files with a repository, see “Register YAML files with GitLab (GUI)” and “Register YAML files with GitLab (CUI)”.
Please note that this application does not support functions other than registering authentication information for job execution, registering inventory, setting projects, registering templates, checking execution results, and registering execution environments. Please do not attempt to use them. For information on registering an execution environment, see “Registering custom execution environments with AWX”.
Section structure
3.8.1 Registering authentication information
3.8.2 Setting projects
3.8.3 Registering inventory
3.8.4 Registering templates
3.8.5 Checking job execution results