# Option "Overwrite Variables" in Inventory sources does not seem to work

**URL:** <https://forum.ansible.com/t/option-overwrite-variables-in-inventory-sources-does-not-seem-to-work/28911>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 31, 2018, 4:55pm UTC](https://forum.ansible.com/t/option-overwrite-variables-in-inventory-sources-does-not-seem-to-work/28911 "2018-10-31T16:55:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BOTTE\_QUU](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@BOTTE\_QUU](https://forum.ansible.com/u/BOTTE_QUU)\
**Post date:** [October 31, 2018, 4:55pm UTC](https://forum.ansible.com/t/option-overwrite-variables-in-inventory-sources-does-not-seem-to-work/28911/1 "2018-10-31T16:55:56Z")

</div>

Hi,

I’m using AWX 2.0.1.

I created an inventory with a source from Red Hat Satellite 6. It works. All the hosts are correctly created with a lot of variables.

My problem is that when I manually add variables in a host definition, they are erased when a new import is made…

The option “Overwrite” is checked but the option “Overwrite Variables” is no checked!

Am I doing something wrong ?

Thanks

---

<div class="post-metadata">

**Author:** ![David\_Maple](https://avatars.discourse-cdn.com/v4/letter/d/ad7895/32.png) [@David\_Maple](https://forum.ansible.com/u/David_Maple)\
**Post date:** [October 31, 2018, 10:15pm UTC](https://forum.ansible.com/t/option-overwrite-variables-in-inventory-sources-does-not-seem-to-work/28911/2 "2018-10-31T22:15:14Z")

</div>

It sounds like you have the settings right, from what I have read. I have the same AWX and Satellite setup, but I haven’t tried what your doing. I’ll test mine tomorrow and see if I get the same results. Are you adding unique variables or are you adding variables that Satellite is also setting?

Dave

---

<div class="post-metadata">

**Author:** ![BOTTE\_QUU](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@BOTTE\_QUU](https://forum.ansible.com/u/BOTTE_QUU)\
**Post date:** [November 1, 2018, 5:50pm UTC](https://forum.ansible.com/t/option-overwrite-variables-in-inventory-sources-does-not-seem-to-work/28911/3 "2018-11-01T17:50:31Z")

</div>

Hello and Thanks for the response.  
I am adding unique variables.

---

<div class="post-metadata">

**Author:** ![BOTTE\_QUU](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@BOTTE\_QUU](https://forum.ansible.com/u/BOTTE_QUU)\
**Post date:** [November 2, 2018, 8:47am UTC](https://forum.ansible.com/t/option-overwrite-variables-in-inventory-sources-does-not-seem-to-work/28911/4 "2018-11-02T08:47:52Z")

</div>

Well… I do not know what I did differently but it works now…

Tanks
