Ansible for DevOps - Part 5
Future Enhancements
Although this repo contains a couple of roles (one to deploy AAP and EDA, and one to deploy the demo setup), it’s a long way from best-practice Ansible! The code should be refactored into more fine-grained roles, potentially with switches to turn on or off the installation of EDA.
EDA itself doesn’t have a fully production-ready collection for automation yet. This means that, for example, the AAP token generated to allow EDA to connect to the AAP Controller can’t be automatically added to EDA.
I also need to work on detecting the availability of AAP to apply licensing. This sometimes works, sometimes requires rerunning the playbook after a pause.
At the moment, I haven’t automated the configuration of the webhook in github - this has to be done manually. However, the community.general.github_webhook module would allow this process to be automated too.
A further refinement may be to use the details provided in the webhook to make the workflow process succeed or fail rather than using a variable defined on the workflow.
Resources
A copy of the slides used for the demo presentation are here:
TODO
A video of the demo can be seen here:
TODO
The github repo containing the automation to set up the demo environment can be found here
The github repo containing the “app team” job templates can be found here
Thanks!
Thanks for reading. All the posts are collected here: