mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-05 12:22:09 +07:00
Fix loop control
This commit is contained in:
@@ -59,7 +59,7 @@
|
|||||||
notify: ['reload nginx', 'restart nginx freebsd']
|
notify: ['reload nginx', 'restart nginx freebsd']
|
||||||
when: item.state is defined and item.state == 'absent'
|
when: item.state is defined and item.state == 'absent'
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item | nginx_site_name }}"
|
label: "{{ nginx_etc_dir }}/{{ item.1 }}/{{ item.0 | nginx_site_filename }}"
|
||||||
|
|
||||||
- name: FILE | Enable sites
|
- name: FILE | Enable sites
|
||||||
file:
|
file:
|
||||||
|
|||||||
Reference in New Issue
Block a user