Hallo everyone. I have the next problem.
I have two roles: database and service1 for example. database role has defaults/main.yml with default variables. I want service1 role has a dependency on the database role and I want to pass specific vars to database role to override it's default variables. so service1 meta/main.yml file will look something like: dependencies: - { role: database, file_with_vars_to_include: database.yml } or in playbook file roles: - { role: database, file_with_vars_to_include: roles/service1/vars/database.yml } I've tried 'include' and 'vars_files' but It seems not to work. Kind regards, Oleksii. -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/19506bcd-e302-47ab-8eb1-7a52a3773c88%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.