mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-03-18 10:52:10 +07:00
Delete useless test
This commit is contained in:
@@ -5,14 +5,6 @@
|
|||||||
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
|
|
||||||
fail: msg="Missmatch configuration for vhost {{ item.name if item.name is string else item.name[0] }}"
|
|
||||||
when: >
|
|
||||||
item.proto is defined and
|
|
||||||
'https' in item.proto and
|
|
||||||
item.ssl_name is not defined
|
|
||||||
with_items: "{{ nginx_vhosts }}"
|
|
||||||
|
|
||||||
- name: FAIL | Check HTTPS redir and proto
|
- name: FAIL | Check HTTPS redir and proto
|
||||||
fail: msg="You can't have HTTP proto and HTTPS redirection at the same time"
|
fail: msg="You can't have HTTP proto and HTTPS redirection at the same time"
|
||||||
when: >
|
when: >
|
||||||
|
|||||||
Reference in New Issue
Block a user