I’d say I know how to configure the “bottle” but not the “substance”.
At the moment, once my AWX instance is set, I spend time to create credentials, to setup LDAP, setup template project and so on…
**So my question is : How can I perform these actions in a declarative way ? **
Is it possible to do it from a K8s perspective ? or should I go to ansible-playbook to talk with AWX API for these kind of actions ?
I say almost because I find it a hard to use, but it has everything we need! (except for the installation, but since there is awx-operator, in your case it’s not an issue)
Looking at the AWX Operator documentation as you mentioned (Ansible AWX Operator Documentation) i didn’t find a way of configuring the AWX from the k8s perspective. I really don’t know if it’s possible, the declarative way i know it’s by the awx.awx module. If you find a way let met know !
@laurent-indermuehle@souovan merci for your answers ! I’ll have a look at the documentation + the GitHub repo mentionned it will be a great option i guess !
Most of configurations under Settings in AWX UI can be configured through extra_settings of AWX CR, since the keys and values that passed over extra_settings will simply be embedded to settings.py for AWX.
In addition to extra_settings, this is a bit different approach, but there is an Operator to manage resources on AWX as CR: GitHub - ansible/awx-resource-operator
I’m not tested well but there seems to be following CRD: