nginx: Verhindere die Installation von nginx-full wenn eine andere Version bereits installiert ist

This commit is contained in:
phil 2022-06-19 21:56:59 +02:00
parent c9ed568d78
commit 2de94ae68c
2 changed files with 2 additions and 2 deletions

View file

@ -3,4 +3,4 @@
apt:
pkg:
- liblwp-useragent-determined-perl
- nginx-full
- "{{ nginx.version | default(nginx-full) }}"

View file

@ -4,5 +4,5 @@ check process nginx with pidfile /var/run/nginx.pid
group webserver
start program = "/usr/sbin/service nginx start"
stop program = "/usr/sbin/service nginx stop"
if failed host 127.0.0.1 port {{ nginx_port |default(80) }} for 3 cycles then restart
if failed host 127.0.0.1 port {{ nginx.port |default(80) }} for 3 cycles then restart
if 5 restarts with 5 cycles then timeout