Variable data structures in playbooks now nestable however you want

I’ve pushed some changes to the integration branch that allows variables via the ‘vars’ section (and I believe vars_files, though I haven’t tested this fully yet) to be kept as structured data.

This means you are able to do stuff like:

vars:
asdf: jkl
favcolor: blue
alist:

  • duck
  • duck
  • goose
    adict:
    key: value
    key2: value2

And that structure will be preserved when fed to templates, among other things.

It’s on the integration branch now – I’ll let some folks test it a bit before I merge it into master.

No module changes are required other than the changes I’ve made to the setup module to support this.

–Michael