Hi Dear,
I use RedHat Ansible Tower (AWX Enterprise) and problem when create job_template by curl.
My Curl is:
‘curl -H “Content-Type:application/json” -s -k -X POST -u user_tower:pass_tower -d @launch_template.json https://ansible_tower/api/v2/job_templates/269/launch/’
My json is:
{“extra_vars”: “{"name": "my_ame"}”}
The Ansible Tower not read extra_vars and put data in ignored_fields:
“ignored_fields”: {
“extra_vars”: {
“name”: “my_name”
}
}
Whats is problem in variable or json?