[ansible-project] Re: nested variables - again

2015-12-15 Thread mtovey
On Tuesday, December 15, 2015 at 7:01:04 AM UTC-8, Mike Biancaniello wrote: > > Will this do what you need? using structure[list] instead of trying to > nest. > > --- > - name: stuff > connection: local > gather_facts: no > hosts: localhost > > vars: > list: list1 > structure:

[ansible-project] Re: nested variables - again

2015-12-15 Thread Mike Biancaniello
Will this do what you need? using structure[list] instead of trying to nest. --- - name: stuff connection: local gather_facts: no hosts: localhost vars: list: list1 structure: list1: - {var1: "val1", var2: "val2", var3: "val3"} list2: - {var1: