Hey there,
this has been discussed before.
The simple steps are as follws:
- Clone the Github repo of the standard-ee from awx: https://github.com/ansible/awx-ee
- Customize the requirements.yml and the requirements_combined.yml files inside of the build-folder.
- Run docker build -t your/tag/name . from inside the repo-folder.
- When the build finishes, run docker push your/tag/name, if you don't have a docker repo already, docker will ask you for your credentials and for a repo to push to. I don't know if you are able to push to a quay.io account, but you can set up a repo on docker.io. I'm pretty sure people had some alternatives before.
- When your image has been pushed to your repo, nagivate to AWX
and add the EE in you Execution-Environment-Tab. You just need to
specify the link (in docker this is smth. like
docker.io/your/tag:latest). If you have set it to private, you
might need to create a credential to pull the image.
- Now you just need to specify the EE in your templates.
--> This is not the intended way, but since AWX 19 a few ran into problems building EEs from scratch. Some modules seem to be required and as far as I know, we didn't figure out which ones. Since the EE from the AWX-team is working fine, your best guess will be to use this as a template.
For more information, look at this thread:
https://groups.google.com/g/awx-project/c/MACNtPrGpV8 they ssem to
have found a solution without using the AWX-EE as a template.
Hope this helps.
Cheers.
--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/cf585d64-d8ba-425c-9b18-de981afae848n%40googlegroups.com.
receptor - ADD run.sh /run.sh - CMD /run.sh - USE - RUN git lfs installR 1000
-
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/9611e2d8-4dcd-4177-bcb7-82b1cd3789efn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/CAJ3TUwjEA9FRAR8_VdiONRU%2Bh%2BvV-%2BNXRcgwqBPxb-sVL71bPQ%40mail.gmail.com.
--build-arg ANSIBLE_RUNNER_IMAGE=quay.io/ansible/awx-ee:0.1.1
When I used this The playbook ran as expected. The playbook did error but that is expected and comes under standard bug fixing.
Thank you for taking the time to help me. It is most appreciated.To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/44a60cde-8f17-494d-9b78-b9cccb31fd32n%40googlegroups.com.