Using variable lists in ansible returns undefined variable
Here is my variable list file vars/blah.yml: — stuff: – stuff1: bill stuff2: sue I just trying to get the values of the variable stuff. Here’s my playbook: hosts: all become: yes vars_files: – vars/blah.yml tasks: – name: test debug: var: “{{ item.stuff1 }} {{ item.stuff2 }}” loop : – “{{ stuff }}” I’m getting … Read more