# AWX doesn't import host\_vars

**URL:** <https://forum.ansible.com/t/awx-doesnt-import-host-vars/36761>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [June 21, 2022, 2:06pm UTC](https://forum.ansible.com/t/awx-doesnt-import-host-vars/36761 "2022-06-21T14:06:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alireza\_Eskandari](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@Alireza\_Eskandari](https://forum.ansible.com/u/Alireza_Eskandari)\
**Post date:** [June 21, 2022, 2:06pm UTC](https://forum.ansible.com/t/awx-doesnt-import-host-vars/36761/1 "2022-06-21T14:06:34Z")

</div>

Hi,  
I want to import an inventory from a project.  
I can import groups and hosts and also group\_vars, but it seems awx cannot parse host\_vars.  
I’m using awx 21.1.0  
Regards

---

<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:** [June 22, 2022, 7:31pm UTC](https://forum.ansible.com/t/awx-doesnt-import-host-vars/36761/2 "2022-06-22T19:31:07Z")

</div>

Hi!

To clarify, are you attempting to use the host\_vars/ directory to import host vars, or are these variables in the inventory file itself? Same thing for group vars, are you using the group\_vars/ directory?

Thanks

AWX Team
