# add host to inventory Add tower host

**URL:** <https://forum.ansible.com/t/add-host-to-inventory-add-tower-host/29455>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [January 17, 2019, 11:12am UTC](https://forum.ansible.com/t/add-host-to-inventory-add-tower-host/29455 "2019-01-17T11:12:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cava\_cavamagie](https://avatars.discourse-cdn.com/v4/letter/c/e68b1a/32.png) [@cava\_cavamagie](https://forum.ansible.com/u/cava_cavamagie)\
**Post date:** [January 17, 2019, 11:12am UTC](https://forum.ansible.com/t/add-host-to-inventory-add-tower-host/29455/1 "2019-01-17T11:12:05Z")

</div>

i want to add to inventory over awx a machine provisioned

i try with

- name: Add tower host  
tower\_host:

but seem work only in tower because when i try to use give me

“exception”: “WARNING: The below traceback may _not_ be related to the actual failure.\n File "/tmp/ansible\_tower\_host\_payload\_azuMsH/ **main**.py", line 70, in \n import tower\_cli\n”,

other ways ??

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [January 18, 2019, 7:22pm UTC](https://forum.ansible.com/t/add-host-to-inventory-add-tower-host/29455/2 "2019-01-18T19:22:40Z")

</div>

it’d be helpful to see the rest of the exception from the module.

You can also use the api directly
