From 694c55d8bc8bd817d4eaf4c3956d03f831d66cd2 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 25 May 2020 18:48:36 +0200 Subject: [PATCH] remove template validation --- tasks/install.yml | 2 -- tasks/tls.yml | 1 - 2 files changed, 3 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index 6a75385..28f0fe1 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -58,7 +58,6 @@ owner: root group: root mode: 0640 - validate: /sbin/nginx -t -c %s notify: __nginx_reload - name: Remove default.conf from conf.d @@ -73,7 +72,6 @@ owner: root group: root mode: 0640 - validate: /bin/bash -c 'nginx -t -c /dev/stdin <<< "events {worker_connections 10;} http { include %s; }"' notify: __nginx_reload - name: Add custom error page template diff --git a/tasks/tls.yml b/tasks/tls.yml index 94f7684..de98dac 100644 --- a/tasks/tls.yml +++ b/tasks/tls.yml @@ -28,7 +28,6 @@ owner: root group: root mode: 0640 - validate: bash -c 'nginx -t -c /dev/stdin <<< "events {worker_connections 1;} http { include %s; }"' notify: __nginx_reload become: True become_user: root