Using CI/CD to Interact with Automation Controller
Previous chapters have gone into detail about using roles and modules to interact with parts of the Ansible Automation Platform (AAP). This chapter will go into detail about using principles of Configuration as Code (CaC) and Continuous Integration and Continuous Delivery (CI/CD) to maintain configuration and interact with services in the AAP. Some of this has been covered in other chapters, such as triggering a project update, a configuration change, when a pull request has been completed, or doing a regular backup of the installation. The goal of this chapter is to put those ideas together in a more cohesive format with examples of how to integrate those examples into CI/CD.
In this chapter, we’re going to cover the following main topics:
- A brief introduction to CI/CD pipelines and webhooks
- Maintaining Automation controller and hub through infrastructure as code paired with CI/CD
- Launching jobs, monitoring...