Re: [ansible-project] How use with_sequence and with_dict together

2019-12-19 Thread Vladimir Botka
Hi Rafael, On Thu, 19 Dec 2019 00:40:24 -0300 Rafael Tomelin wrote: > I want to do loop in the dict variable appliance and in variable have var > count. This count I should like loop count. > > appliances: > fw01: > count: 2 > vmname: name > image: redhat > os_type: Linux >

Re: [ansible-project] How use with_sequence and with_dict together

2019-12-18 Thread Kai Stian Olstad
On 19.12.2019 04:40, Rafael Tomelin wrote: I want to do loop in the dict variable appliance and in variable have var count. This count I should like loop count. Matt Martz gave you the answer yesterday when you asked exactly the same question. -- Kai Stian Olstad -- You received this

[ansible-project] How use with_sequence and with_dict together

2019-12-18 Thread Rafael Tomelin
Hi, I want to do loop in the dict variable appliance and in variable have var count. This count I should like loop count. appliances: fw01: count: 2 vmname: name image: redhat os_type: Linux data_disks: - lun: 0 disk_size_gb: 128 managed_disk_type: