# How to use galaxy in awx

**URL:** <https://forum.ansible.com/t/how-to-use-galaxy-in-awx/33383>\
**Category:** AWX Project\
**Tags:** awx, galaxy-ng, kubernetes\
**Created:** [July 13, 2020, 10:07am UTC](https://forum.ansible.com/t/how-to-use-galaxy-in-awx/33383 "2020-07-13T10:07:51Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [April 27, 2021, 12:52pm UTC](https://forum.ansible.com/t/how-to-use-galaxy-in-awx/33383/21 "2021-04-27T12:52:38Z")

</div>

Hi Chris,

I followed the instructions too. I am on. awx 19. I am experiencing a different kind of error as outlined here:

[https://github.com/ansible/awx/issues/9917](https://github.com/ansible/awx/issues/9917)

What image are yoy using? Latest one? I get the same error as I described in the issue above. very curious if you empty the local image and start again, and see if it works for you. I will give it a go again aS things may have changed since the last time I tried. Many thanks

---

<div class="post-metadata">

**Author:** ![Chris\_Paggen](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@Chris\_Paggen](https://forum.ansible.com/u/Chris_Paggen)\
**Post date:** [April 27, 2021, 1:43pm UTC](https://forum.ansible.com/t/how-to-use-galaxy-in-awx/33383/22 "2021-04-27T13:43:10Z")

</div>

You are using a different image. I followed the steps at [https://www.linkedin.com/pulse/creating-custom-ee-awx-phil-griffiths/](https://www.linkedin.com/pulse/creating-custom-ee-awx-phil-griffiths/) exactly, using Phil’s image. I then tagged the image with my username in order to push it to Dockerhub.

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [April 27, 2021, 6:12pm UTC](https://forum.ansible.com/t/how-to-use-galaxy-in-awx/33383/23 "2021-04-27T18:12:03Z")

</div>

Are you referring to this one?

```auto
ansible-builder build --tag quay.io/philgriffiths/awx-custom-ee:latest --context ./context --container-runtime

```

```auto
That's the only command. That I can see is using the image being built. That's not an image when he is using a tag. That's not using his image. The tag is referring to is tagging the image that we are building. The image is still using awx-ee:0.2.0. Unless you are saying that there is something else....

```

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [April 27, 2021, 6:54pm UTC](https://forum.ansible.com/t/how-to-use-galaxy-in-awx/33383/24 "2021-04-27T18:54:58Z")

</div>

What do you mean different image?

```auto
ansible-builder build --tag [quay.io/philgriffiths/awx-custom-ee:latest](http://quay.io/philgriffiths/awx-custom-ee:latest) --context ./context --container-runti

```

The tag here is --tag [quay.io/philgriffiths/awx-custom-ee:latest](http://quay.io/philgriffiths/awx-custom-ee:latest) is just renaming the local image that is compiled on the local machine.

In the background it is pulling the latest version of the runner and such.

I tried using that exact line to build image  
ansible-builder build --tag [quay.io/philgriffiths/awx-custom-ee:latest](http://quay.io/philgriffiths/awx-custom-ee:latest) --context ./context --container-runtime docker

I still get this error message:

Traceback (most recent call last): File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/tasks.py”, line 1397, in run res = receptor\_job.run() File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/tasks.py”, line 2957, in run return self.\_run\_internal(receptor\_ctl) File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/tasks.py”, line 3008, in \_run\_internal raise RuntimeError(detail) RuntimeError: Pod Running

---

<div class="post-metadata">

**Author:** ![Chris\_Paggen](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@Chris\_Paggen](https://forum.ansible.com/u/Chris_Paggen)\
**Post date:** [April 27, 2021, 7:39pm UTC](https://forum.ansible.com/t/how-to-use-galaxy-in-awx/33383/25 "2021-04-27T19:39:30Z")

</div>

Yes I used awx-custom-ee, it worked right off the bat for me. I modified requirements.yml to include my collections, that’s it.

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [April 27, 2021, 9:42pm UTC](https://forum.ansible.com/t/how-to-use-galaxy-in-awx/33383/26 "2021-04-27T21:42:06Z")

</div>

Ok that’s not actually using that image. That -t is a tag that you will name the image that is built from this project:  
[awx-ee/Containerfile at devel · ansible/awx-ee (github.com)](https://github.com/ansible/awx-ee/blob/devel/Containerfile)

if you use verbose you can see its pulling down those images from here. And its the latest ones. if we use a different image then we can use the buildargs parameter and replace  
these with our own.  
ARG ANSIBLE\_RUNNER\_IMAGE.

I am using AWX19 …what about you? Just trying to track the differences. Thanks!

[Previous page](https://forum.ansible.com/t/how-to-use-galaxy-in-awx/33383.md?page=1)
