I just got done deploying AWX Operator 22.4.0 (https://github.com/kurokobo/awx-on-k3s) but I do not understand how I now get the Netapp collection added like I did in AWX v17 (Docker). Anyone how clear documentation or a walkthrough on how to do this?
#Adding Netapp.Ontap Collection in AWX Operator?
1 messages · Page 1 of 1 (latest)
You can specify the NetApp collection in the requirements.yml:
https://github.com/kurokobo/awx-on-k3s/tree/main/builder
Quote:
"Use Ansible collections without custom EE
If you simply need additional Ansible collections only, and no additional Pip or RPM packages are required, this method is the simplest way. However, this method can't be applied for Manual type projects. If you want to add your project as Manual type, you should build custom EE.
The procedure is quite simple, create and place collections/requirements.yml on your project root including the list of the collections which you want to use.
The format of collections/requirements.yml is the same as the requirements.yml for ansible-galaxy.
If collections/requirements.yml is present in your project, AWX will install the collections accordingly while updating project."
This will be a learning exercise for me. Thanks for the link.
@glass vigil So if I am reading this correctly, as a requirement, I will need Python3, Docker, and Ansible Builder installed on my VM independently from what the AWX deployment provided ('which python' and 'which docker' provided no results so this is my suspicion)
Yes, if you want to build a custom execution environment (docker/podman depending on distro and preference). If you just want to use the default execution environment, you can specify the collection you want to install during execution in the collections/requirements.yml.
The default execution environment of AWX is described here: https://github.com/ansible/awx-ee
@kindred jetty if you want you can use the EE i have build for Netapp quay.io/abhijeet_janwalkar/netappontapee:0.31. Let me know if this works for you or now as well.
@lapis island I think I will take a look at that...thanks!