Hello guys…i have a playbook which i am invoking using jenkins…however i am unable to pass on variables as arguments so that they could override template-vars.yml preset variables and also some new variables…how to achieve it???
you don't give enough info, what is template-vars.yml? how do you load it?
In any case, any solution is predicated on variable precedence, which
is documented here:
https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable