From 999f22683891b5811e3ed49d0254f16c813c3e62 Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Mon, 7 Nov 2016 17:40:00 +0100 Subject: [PATCH] Delete useless test --- tasks/vhost.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tasks/vhost.yml b/tasks/vhost.yml index 1325c84..933391e 100644 --- a/tasks/vhost.yml +++ b/tasks/vhost.yml @@ -5,14 +5,6 @@ when: item.filename is defined and item.filename == 'default' 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 fail: msg="You can't have HTTP proto and HTTPS redirection at the same time" when: >