Thanks for the input, I was being stupid. 
My vars on my computer where I've historically run the playbook have been:

ansible_user=xxxxxxx

on AWX is expects its in yaml as 

ansible_user: xxxxxxx

Cheers for the input!



On Thursday, 23 May 2019 14:30:30 UTC+1, new_ansible wrote:
>
> Yes i think so . Try once with this
>
> On Thu, 23 May 2019 at 18:59, cavamagie <[email protected] <javascript:>> 
> wrote:
>
>> if you enter
>> a valid variable?
>> lite
>> ---
>> exa_var: true
>>
>> works?
>>
>> Il giorno gio 23 mag 2019 alle ore 15:09 Vandana Thakur <
>> [email protected] <javascript:>> ha scritto:
>>
>>> 400 error is bad request . 
>>>
>>>
>>> So i think the format in which you are passing the variable is incorrect 
>>> . 
>>>
>>> Like try the correct json format . 
>>>
>>> On Thu, 23 May 2019 at 18:31, Simon Pole <[email protected] 
>>> <javascript:>> wrote:
>>>
>>>> Hi, 
>>>>
>>>> I'm running AWX 4 and everything seems fine but when I go to 
>>>> inventories and add anything in the variables box I present me with a 
>>>> "Failed to add new inventory. Post returned status: 400" 
>>>>
>>>> [image: 2019-05-23 13_59_21-Window.png]
>>>>
>>>> [image: 2019-05-23 13_59_39-Window.png]
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Ansible Project" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected] <javascript:>.
>>>> To post to this group, send email to [email protected] 
>>>> <javascript:>.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/ansible-project/b469c63b-810d-4d0b-8d5b-24c88e7cfabb%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/ansible-project/b469c63b-810d-4d0b-8d5b-24c88e7cfabb%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Ansible Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected] <javascript:>.
>>> To post to this group, send email to [email protected] 
>>> <javascript:>.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/ansible-project/CALJDb0nMyOnNggcXe3cYMK2k-nTMYRxohmCQe73%2Bfp7Thcxn7Q%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/ansible-project/CALJDb0nMyOnNggcXe3cYMK2k-nTMYRxohmCQe73%2Bfp7Thcxn7Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/CAJ%3DxKPaL1zRwZMD%3DSLg5hs0wj2rZnKbjRT3UemQFCjPJ5adCfw%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/CAJ%3DxKPaL1zRwZMD%3DSLg5hs0wj2rZnKbjRT3UemQFCjPJ5adCfw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/135855b7-cf33-42a7-9325-9384eaf4a24a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to