Re: [ansible-project] How can i include other var files in a yaml file with only variables defined

2016-10-24 Thread Brian Coca
You cannot, YAML does not have an include feature. -- Brian Coca -- 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 ansible-project+unsubscr...@googleg

[ansible-project] How can i include other var files in a yaml file with only variables defined

2016-10-24 Thread ishan jain
Hi, I use simple YAML files for defining some constant values to be used in my playbooks. A typical file would look like this: var1: abc var2: xyz var3: - item1 - item2 var4: 4.1: a 4.2: b I simply include the the file(s) like above in my playbooks in vars: section and all the con