Kaynağa Gözat

make php version configurable

master
ebeveyn
işleme
adf18359fc
3 değiştirilmiş dosya ile 16 ekleme ve 14 silme
  1. +2
    -0
      defaults/main.yml
  2. +1
    -1
      tasks/php-opcache.yml
  3. +13
    -13
      tasks/setup_Debian.yml

+ 2
- 0
defaults/main.yml Dosyayı Görüntüle

@@ -29,3 +29,5 @@ nextcloud_server_names:
nextcloud_force_downgrade: false

timezone: UTC

nextcloud_php_version: 7.3

+ 1
- 1
tasks/php-opcache.yml Dosyayı Görüntüle

@@ -4,5 +4,5 @@
- name: enable php opcache
template:
src: php-opcache.conf.j2
dest: /etc/php/7.0/apache2/conf.d/opcache.ini
dest: /etc/php/{{nextcloud_php_version}}/apache2/conf.d/opcache.ini
notify: restart apache2

+ 13
- 13
tasks/setup_Debian.yml Dosyayı Görüntüle

@@ -4,22 +4,22 @@
apt:
pkg:
- apache2
- php-cli
- libapache2-mod-php
- php-xml
- php-gd
- php-json
- php-mbstring
- php-zip
- php-mysql
- php-curl
- php-intl
- php-imagick
- php{{nextcloud_php_version}}-cli
- libapache2-mod-php{{nextcloud_php_version}}
- php{{nextcloud_php_version}}-xml
- php{{nextcloud_php_version}}-gd
- php{{nextcloud_php_version}}-json
- php{{nextcloud_php_version}}-mbstring
- php{{nextcloud_php_version}}-zip
- php{{nextcloud_php_version}}-mysql
- php{{nextcloud_php_version}}-curl
- php{{nextcloud_php_version}}-intl
- php{{nextcloud_php_version}}-imagick
- ca-certificates
- sudo
- php-apcu
- php{{nextcloud_php_version}}-apcu
- memcached
- php-memcached
- php{{nextcloud_php_version}}-memcached
- libreoffice
- mariadb-client
state: present


Yükleniyor…
İptal
Kaydet