From the course: Automating Kubernetes with GitOps
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Configuring webhooks on AWX - Kubernetes Tutorial
From the course: Automating Kubernetes with GitOps
Configuring webhooks on AWX
- So now that we have AWX up and running, we can configure it. To run tasks on AWX, a web resource must be configured. So you need to go through the AWX website and configure an inventory, which contains a list of all the managed hosts, credentials, which identifies the credentials, which is the user account used by Ansible, a product, which refers to a Git repository that contains specific resources, and templates, which configures the Ansible playbook that should be executed. And connection to Git is made on products and templates, and that is what this is all about. We want to connect it to Git. So the product is configured to sync a specific branch, and the template can be configured with a webhook so that it can be triggered when changes in Git are applied. Let me show you. So here we are in the AWX web interface. And to start with, I need to configure the inventory. The order to work is we are going to create an inventory. After the inventory, we are going to create the…