# Automatically update survey from inventory

**URL:** <https://forum.ansible.com/t/automatically-update-survey-from-inventory/35944>\
**Category:** AWX Project\
**Created:** [November 1, 2021, 11:33am UTC](https://forum.ansible.com/t/automatically-update-survey-from-inventory/35944 "2021-11-01T11:33:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony1](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@Tony1](https://forum.ansible.com/u/Tony1)\
**Post date:** [November 1, 2021, 11:33am UTC](https://forum.ansible.com/t/automatically-update-survey-from-inventory/35944/1 "2021-11-01T11:33:50Z")

</div>

Hi,

Does anyone know of a way to automatically update a job template survey with all hosts from an inventory?

Cheers

---

<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:** [November 1, 2021, 5:38pm UTC](https://forum.ansible.com/t/automatically-update-survey-from-inventory/35944/2 "2021-11-01T17:38:56Z")

</div>

Not really following what you are asking. You want to populate a survey component like a drop down with a list of servers?

---

<div class="post-metadata">

**Author:** ![Andrew\_C](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@Andrew\_C](https://forum.ansible.com/u/Andrew_C)\
**Post date:** [November 2, 2021, 7:20am UTC](https://forum.ansible.com/t/automatically-update-survey-from-inventory/35944/3 "2021-11-02T07:20:56Z")

</div>

I am trying to do this by creating an inventory source from a playbook that creates an inventory but this fails saying there are no hosts in the inventory source. It seems to be the snake that eats itself.
