Fix loop control
parent
3304934227
commit
9fc4838b1b
|
@ -59,7 +59,7 @@
|
|||
notify: ['reload nginx', 'restart nginx freebsd']
|
||||
when: item.state is defined and item.state == 'absent'
|
||||
loop_control:
|
||||
label: "{{ item | nginx_site_name }}"
|
||||
label: "{{ nginx_etc_dir }}/{{ item.1 }}/{{ item.0 | nginx_site_filename }}"
|
||||
|
||||
- name: FILE | Enable sites
|
||||
file:
|
||||
|
|
Loading…
Reference in New Issue