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!

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a10bf8d4-1f54-4e8b-af50-0ea8e53e7a72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to