# Adding existing host to different inventory shows duplicates

**URL:** <https://forum.ansible.com/t/adding-existing-host-to-different-inventory-shows-duplicates/34772>\
**Category:** Ansible Project\
**Created:** [March 12, 2021, 4:33pm UTC](https://forum.ansible.com/t/adding-existing-host-to-different-inventory-shows-duplicates/34772 "2021-03-12T16:33:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kumaresan\_M](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Post date:** [March 12, 2021, 4:33pm UTC](https://forum.ansible.com/t/adding-existing-host-to-different-inventory-shows-duplicates/34772/1 "2021-03-12T16:33:01Z")

</div>

Hi All,

I am trying to add existing host into different inventory shows duplicates in ansible tower.Does the host can’t be in two different inventory?

Call to /api/v2/hosts/. GET returned: 400 duplicate key value violates unique constraint “main\_activitystream\_host\_pkey” DETAIL: Key (id)=(183) already exists.

Regards  
Kumar

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [March 12, 2021, 5:33pm UTC](https://forum.ansible.com/t/adding-existing-host-to-different-inventory-shows-duplicates/34772/2 "2021-03-12T17:33:07Z")

</div>

Better ask this on the awx lists or (even better) contact RedHat support
