Hi
I am writing a playbook which looks like the following:
- name: test
hosts: 127.0.0.1
connection: local
gather_facts: yes
vars_files:
- vars/directory/file.yml
roles:
I wonder if there is anyway of defining a “vars_files” with JUST a directory so it will read all the files within the directory rather than defining one by one?
I would like to get this as dynamic as I could so I wonder if this is possible?
ideas/tips please?
Thanks!