Re: [ansible-project] How to use the same dictionary to loop over two tasks? is it possible using block?

2018-04-12 Thread Kai Stian Olstad
On 12.04.2018 02:20, Tony Chia wrote: I would like to do this so that the win_iis_webbinding is called immediately after win_iis_website instead of calling win_iis_website,win_iis_website,etc then win_iis_webbinding, win_iis_webbinding, etc - block: - name: Create IIS site win_

[ansible-project] How to use the same dictionary to loop over two tasks? is it possible using block?

2018-04-11 Thread Tony Chia
I.e. instead of doing this which does win_iis_website,win_iis_website,etc then win_iis_webbinding,win_iis_webbinding, etc - name: Create IIS site win_iis_website: name: '{{ item.key }}' state: started application_pool: '{{ item.