curl and Ansible AWX

42 views
Skip to first unread message

Douglas Thompson

unread,
Jan 8, 2020, 3:32:55 PM1/8/20
to ansible...@googlegroups.com
anyone know why this curl command passes the host_config_key but not the extra_vars?

curl -f -k -H 'Content-Type: application/json' -XPOST -d '{"host_config_key": "00000000-0000-0000", "extra_vars": "{\"ansible_variable\": \"some_value\"}"}' https://awxserver.somedomain.com:443/api/v2/job_templates/00/callback/  


Thanks,
--
Douglas Thompson
---
Is life so dear or peace so sweet as to be purchased at the price of chains and slavery?  - Patrick Henry

Douglas Thompson

unread,
Jan 15, 2020, 10:45:00 AM1/15/20
to Ansible Project
Anyone have any ideas? I have 'prompt at launch' setup on the AWX job template.

Matt Martz

unread,
Jan 15, 2020, 10:47:20 AM1/15/20
to ansible...@googlegroups.com
You may want to try the AWX mailing list instead: https://groups.google.com/forum/#!forum/awx-project

Typically speaking, this list is solely for the purpose of discussing ansible proper.

--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6b5e795e-b43e-431d-8b3b-262903a0e3c8%40googlegroups.com.


--
Matt Martz
@sivel
sivel.net

Douglas Thompson

unread,
Jan 15, 2020, 10:55:13 AM1/15/20
to ansible...@googlegroups.com
Awesome! My apologies, I was not aware of the AWX group.
Thank you and I'll try there,

Reply all
Reply to author
Forward
0 new messages