>
>
> Instead of using vars_files use the module include_vars, inlude_vars 
> load the file dynamically 
> https://docs.ansible.com/ansible/latest/modules/include_vars_module.html 
>
> Add the include_vars in the pre_tasks: so it runs before roles is run. 
>
> -- 
> Kai Stian Olstad 
>

 Thanks for suggest and I did successful by using include_vars in roles's 
tasks.
You are rock!

-- 
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/283571a1-4360-4feb-a015-a26367d5bf12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to