From 23c80e75ba3e354c80e550d23eeb12e4c081cb83 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Sun, 15 Nov 2020 20:42:48 +0100 Subject: [PATCH] nextcloud: use correct php version --- roles/nextcloud/handlers/main.yml | 4 ++-- roles/nextcloud/tasks/main.yml | 17 ++++++++--------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/roles/nextcloud/handlers/main.yml b/roles/nextcloud/handlers/main.yml index 877c9a0..5f74ea9 100644 --- a/roles/nextcloud/handlers/main.yml +++ b/roles/nextcloud/handlers/main.yml @@ -3,5 +3,5 @@ - name: Restart nginx service: name=nginx state=restarted -- name: Restart php7.0-fpm - service: name=php7.0-fpm state=restarted +- name: Restart php7.4-fpm + service: name=php7.4-fpm state=restarted diff --git a/roles/nextcloud/tasks/main.yml b/roles/nextcloud/tasks/main.yml index b10d34e..e4af712 100644 --- a/roles/nextcloud/tasks/main.yml +++ b/roles/nextcloud/tasks/main.yml @@ -67,22 +67,21 @@ notify: Restart nginx # FIXME currently PHP handled out of ansible -#- name: Configure php7.0-fpm -# copy: src=www.conf dest=/etc/php/7.0/fpm/pool.d/www.conf -# notify: Restart php7.0-fpm +#- name: Configure php7.4-fpm +# copy: src=www.conf dest=/etc/php/7.4/fpm/pool.d/www.conf +# notify: Restart php7.4-fpm # FIXME currently PHP handled out of ansible -#- name: Configure php7.0 opcache -# copy: src=opcache.ini dest=/etc/php/7.0/mods-available/opcache.ini -# notify: Restart php7.0-fpm +#- name: Configure php7.4 opcache +# copy: src=opcache.ini dest=/etc/php/7.4/mods-available/opcache.ini +# notify: Restart php7.4-fpm - name: Enable vhost file: src=/etc/nginx/sites-available/nextcloud dest=/etc/nginx/sites-enabled/nextcloud state=link notify: Restart nginx -# FIXME currently PHP handled out of ansible -#- name: Start php7.0-fpm -# service: name=php7.0-fpm state=started enabled=yes +- name: Start php7.4-fpm + service: name=php7.4-fpm state=started enabled=yes - name: Start PostgreSQL service: name=postgresql state=started enabled=yes