forked from infra/ansible
nextcloud: use correct php version
This commit is contained in:
parent
ada1a968ff
commit
23c80e75ba
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user