nextcloud: use correct php version

This commit is contained in:
Markus 2020-11-15 20:42:48 +01:00
parent ada1a968ff
commit 23c80e75ba
2 changed files with 10 additions and 11 deletions

View File

@ -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

View File

@ -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