How to pass extra variables to a Job Template when launching it via the Ansible Tower API?

Solution Verified - Updated -

Issue

  • extra vars given in a API call are not posted. It seems that the whole payload is not posted.
  • Jobs entered via the Tower API are not given any arguments/variabales.
  • The behaviour happens at every API call.

Environment

  • Ansible Tower 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.