From 1de1c7e7eaab9de4e79af42fbf183ec18af10408 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Sat, 4 Sep 2021 15:29:30 +0200 Subject: [PATCH] icinga: update for bullseye --- roles/icinga/tasks/main.yml | 5 +++-- roles/icinga/templates/vhost.j2 | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/roles/icinga/tasks/main.yml b/roles/icinga/tasks/main.yml index a556086..673bebb 100644 --- a/roles/icinga/tasks/main.yml +++ b/roles/icinga/tasks/main.yml @@ -11,6 +11,7 @@ - name: Install icinga apt: name: + - php-fpm - php-pgsql - icinga2 - icinga2-ido-pgsql @@ -93,5 +94,5 @@ file: src=/etc/nginx/sites-available/icinga dest=/etc/nginx/sites-enabled/icinga state=link notify: Restart nginx -- name: Start php7.3-fpm - service: name=php7.3-fpm state=started enabled=yes +- name: Start php7.4-fpm + service: name=php7.4-fpm state=started enabled=yes diff --git a/roles/icinga/templates/vhost.j2 b/roles/icinga/templates/vhost.j2 index c20e462..37d0440 100644 --- a/roles/icinga/templates/vhost.j2 +++ b/roles/icinga/templates/vhost.j2 @@ -19,7 +19,7 @@ server { ssl_certificate /etc/nginx/ssl/{{ icinga_domain }}.crt; location ~ ^/icingaweb2/index\.php(.*)$ { - fastcgi_pass unix:/var/run/php/php7.3-fpm.sock; + fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php;