Ansible Tower scheduled jobs use template extra vars? -


do scheduled jobs in tower use vars set in original template job based on?

scheduled jobs have vars also, seems you'd want still utilize vars set in template, , i'd rather not have duplicate them. change require change in template , change in every related scheduled job. seems vars set in scheduled job, , have precedence on variable in template.

according ansible job templates documentation, answer appears yes, unless overridden:

prompt variables: if checked, user prompted variables @ job execution. set of variables defaults variables configured job template.

also same document:

... passing variables job template (as survey) can override other variables being passed inventory , project.

and variables documentation:

inside template automatically have access of variables in scope host.

so if don't prompt user-specified variables, or otherwise override vars set, ansible use variables set.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -