On Monday, 21 January 2019 15:45:53 CET Sreejith Sreejayan wrote: > > Anybody knows passing solution vars_files in dependencies role > i have variable files located in vars dir but i tried to pass vars_files in > this play but its not working any solution to solve this issues .
It's hard to overwrite vars variable in roles, check the precedence here https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable Instead of using vars in the role use defaults, and you can overwrite them everywhere. -- Kai Stian Olstad -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2301834.Z7x9MlNeIO%40x1. For more options, visit https://groups.google.com/d/optout.
