Hi,
I had a playbook that I think used to work, but I’m finding now that variables other than the ones I intended are being applied to a particular host. Does the following minimal test case look sane?
I have vars file at roles/mariadb/vars/credentials.yml with some default settings:
You should not be using vars files from inside roles as vars_files entries. If you want easily overridden variables put them in defaults/main.yml and then override them either via role parameters or inventory variables (like host_vars and group_vars).
Thanks James. I’ve re-jigged it as you describe and things are working nicely.
-Greg