From 8d56817ec4cc81a9cc172add59bfdc61ff42d01e Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 18 Jul 2019 09:33:28 +0200 Subject: [PATCH] inclease worker_connections for validation tasks --- tasks/install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index 8054b6c..a59ec40 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -73,7 +73,7 @@ owner: root group: root mode: 0640 - validate: /bin/bash -c 'nginx -t -c /dev/stdin <<< "events {worker_connections 1;} http { include %s; }"' + validate: /bin/bash -c 'nginx -t -c /dev/stdin <<< "events {worker_connections 10;} http { include %s; }"' notify: __nginx_reload - name: Open ports in iptables @@ -122,7 +122,7 @@ owner: root group: root mode: 0640 - validate: /bin/bash -c 'nginx -t -c /dev/stdin <<< "events {worker_connections 1;} http { include %s; }"' + validate: /bin/bash -c 'nginx -t -c /dev/stdin <<< "events {worker_connections 10;} http { include %s; }"' loop: "{{ nginx_vhosts_default + nginx_vhosts_extra }}" loop_control: label: "{{ item.file }}"