mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-03 12:12:10 +07:00
Fix deprecation warning
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
- name: FAIL | Check filenames
|
- name: FAIL | Check filenames
|
||||||
fail: msg="Forbidden keyword default on vhost {{ item.name if item.name is string else item.name[0] }}"
|
fail: msg="Forbidden keyword default on vhost {{ item.name if item.name is string else item.name[0] }}"
|
||||||
when: item.filename is defined and item.filename == 'default'
|
when: item.filename is defined and item.filename == 'default'
|
||||||
with_items: nginx_vhosts
|
with_items: "{{ nginx_vhosts }}"
|
||||||
|
|
||||||
- name: FAIL | Check vhost and SSL/TLS support
|
- name: FAIL | Check vhost and SSL/TLS support
|
||||||
fail: msg="Missmatch configuration for vhost {{ item.name if item.name is string else item.name[0] }}"
|
fail: msg="Missmatch configuration for vhost {{ item.name if item.name is string else item.name[0] }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user