I apologise now for the simplicity of this query… I’ve read a lot of related posts but I am still no closer to understanding the problem.
I have a very simple play.
The specific issue I am stuck on only started on Friday. I must have ‘tweaked’ something and I am darned if I can work out what - this step worked on Thursday after we upgraded to latest version.
Anyway - it’s a template step.
- name: Templates to appropriate HNAS share
template: src=$environmentDirectory/templates/$model/Munich.yaml dest=/mnt/brlhnas/workgroup_cfg/$env/$model/Munich.yaml
The calling play references vars here:
vars:
env: UAT
model: GLORIA
vars_files:
- …/global_vars.yml
- …/vars/SetupConfigVars_$env_$model.yml
My global_vars file contains this;
environmentDirectory: /home/sysadmin
My file vars/SetupConfigVars_UAT_GLORIA.yml, contains the following;