Hi all,
I am deploying AWX on our Kubernetes Cluster by using the AWX Operator from https://github.com/ansible/awx-operator
With the help of the Operator the AWX instance starts up empty. I wonder if it would be possible to pass a Configuration so that the AWX starts up preconfigured. (Projects, Templates, Workflows …)
Any help is appreciated
Klaus
Hi Klaus,
I am not aware of any way to make it so that the instance starts populated.
I suggest looking into the awx.awx collection (https://docs.ansible.com/ansible/latest/collections/awx/awx/index.html) to automate the creation and maintenance of projects/inventory/job templates/etc in an AWX instance. This is what we use and it works well (we run 19.4.0).
In your case, the idea would be to chain the call of the awx.awx collection-based playbooks into the operator to perform what you need after the instance is deployed. If you end up doing so, I would be interested to know how you did it.
I was also thinking about injecting a minimal job template into the AWX instance once deployed so that the full awx.awx collection can then be triggered from within AWX to auto-populate itself (but I have not tried that).
Let us know how it goes,
Vincent