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”
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”
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 .
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!
Glad to help