# Import static inventory using awx-manage

**URL:** <https://forum.ansible.com/t/import-static-inventory-using-awx-manage/37879>\
**Category:** AWX Project\
**Tags:** awx, ee\
**Created:** [April 13, 2023, 10:27am UTC](https://forum.ansible.com/t/import-static-inventory-using-awx-manage/37879 "2023-04-13T10:27:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leonardo](https://avatars.discourse-cdn.com/v4/letter/l/e56c9b/32.png) [@Leonardo](https://forum.ansible.com/u/Leonardo)\
**Post date:** [April 13, 2023, 10:27am UTC](https://forum.ansible.com/t/import-static-inventory-using-awx-manage/37879/1 "2023-04-13T10:27:54Z")

</div>

Hi guys, good morning.

I have a lab with ansible tower and ansible controller and I’m facing dificult to import a static inventory using awx-manage only on ansible controller.

On tower worked without any problems with the command:

awx-manage inventory\_import --source=./inventory\_toImport --inventory-name=MyServers

When run on controller the command complain about execution environment.

[root@test1 ~]# awx-manage inventory\_import -v 3 --source inventory\_toImport --inventory-name MyServers  
0.844 INFO Updating inventory 3: MyServers  
1.034 WARNING The default execution environment (id=6, name=my\_custom\_eev2, image=hub.test.local/my\_custom\_eev2:latest) is not available on this node. The image needs to be available locally before using this command, due to registry authentication. To pull this image, either run a job on this node or manually pull the image.

I ran a podman pull to download the image but the error persists.

[root@test1 ~]# podman images  
REPOSITORY TAG IMAGE ID CREATED SIZE  
hub.test.local/my\_custom\_eev2 latest 0752fa1a4408 Less than a second ago 473 MB

1.) what will be the correct way to pull images locally ?  
2.) How can I use an specific EE to run the import instead leave the awx-manage trying all that is listed on ansible controller ?

Thank you!

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [April 14, 2023, 5:10pm UTC](https://forum.ansible.com/t/import-static-inventory-using-awx-manage/37879/2 "2023-04-14T17:10:55Z")

</div>

Hi! Is this an AAP installation? If so, please reach out to the Red Hat support team and submit a ticket. Here is the link to do so: [https://access.redhat.com/support](https://access.redhat.com/support)

That said, you will need to run podman commands as user “awx”, not root

AWX Team
