Hello there!
I’m having issues with vars precedence, hope you can help me here.
I’m currently using geerlingguy.ansible-role-postgresql as a dependency of my own postgresql role. Is define as a dependency in meta and I’m using import_role in my main task.
I was using vars/main.yml on my own role to override the defaults but now I need to extend my own role a bit like defining diferent variables depending from which group is the server in the inventory.
For this I use group_vars but with the vars/main.yml hack is impossible to override.
What would be the best practice here?
Best,
Miracle Max