1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

nextcloud - use {{ php_version }}

This commit is contained in:
Jerry Vonau 2020-03-19 05:56:38 -05:00
parent 89c0bc9d8d
commit 57ba762345

View file

@ -48,44 +48,42 @@
- ffmpeg # Optional (for preview generation) - ffmpeg # Optional (for preview generation)
- libxml2 # php-libxml requires libxml2 >= 2.7.0 - libxml2 # php-libxml requires libxml2 >= 2.7.0
#- libapache2-mod-php # 2020-02-15: NO LONGER NEEDED? #- libapache2-mod-php # 2020-02-15: NO LONGER NEEDED?
- php-bz2 # Optional (for extraction of apps) - php{{ php_version }}-bz2 # Optional (for extraction of apps)
#- php-cli # NOT REQUESTED by Nextcloud - php{{ php_version }}-cli
#- php-common # NOT REQUESTED by Nextcloud - php{{ php_version }}-curl
- php-curl - php{{ php_version }}-gd
- php-fpm # ALSO INSTALLED IN roles/www_options (Stage 4) for nginx_high_php_limits - php{{ php_version }}-gmp # Optional (for SFTP storage)
- php-gd - php{{ php_version }}-imagick # Optional (for preview generation)
- php-gmp # Optional (for SFTP storage) - php{{ php_version }}-intl # Optional (increases language translation performance and fixes sorting of non-ASCII characters)
- php-imagick # Optional (for preview generation) - php{{ php_version }}-json
- php-intl # Optional (increases language translation performance and fixes sorting of non-ASCII characters)
- php-json
#- php-libxml # NOT INSTALLABLE: ENABLED BY DEFAULT (https://www.php.net/manual/en/libxml.installation.php) #- php-libxml # NOT INSTALLABLE: ENABLED BY DEFAULT (https://www.php.net/manual/en/libxml.installation.php)
- php-mbstring - php{{ php_version }}-mbstring
- php-mysql - php{{ php_version }}-mysql
#- php-openssl # NOT INSTALLABLE: ENABLED BY DEFAULT? #- php-openssl # NOT INSTALLABLE: ENABLED BY DEFAULT?
#- php-pdo_mysql # NOT INSTALLABLE: php-mysql handles this on all OS's? #- php-pdo_mysql # NOT INSTALLABLE: php-mysql handles this on all OS's?
#- php-redis # @m-anish future work? #- php-redis # @m-anish future work?
#- php-session # NOT INSTALLABLE: ENABLED BY DEFAULT? #- php-session # NOT INSTALLABLE: ENABLED BY DEFAULT?
- php-smbclient # Optional (SMB/CIFS integration # - php-smbclient # Optional (SMB/CIFS integration
- php-xml # NOT FORMALLY REQUESTED by Nextcloud (BUT hopefully delivers php-simplexml if not {php-xmlreader, php-xmlwriter} on Raspbian?) - php{{ php_version }}-xml # NOT FORMALLY REQUESTED by Nextcloud (BUT hopefully delivers php-simplexml if not {php-xmlreader, php-xmlwriter} on Raspbian?)
- php-zip - php{{ php_version }}-zip
#- php-zlib # NOT INSTALLABLE: ENABLED BY DEFAULT? #- php-zlib # NOT INSTALLABLE: ENABLED BY DEFAULT?
state: present state: present
# https://docs.nextcloud.com/server/18/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation # https://docs.nextcloud.com/server/18/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
- name: Install 9 additional php packages, if OS is not Raspbian (these are not available on Raspbian on RPi, as of Feb 2020) #- name: Install 9 additional php packages, if OS is not Raspbian (these are not available on Raspbian on RPi, as of Feb 2020)
package: # package:
name: # name:
- php-ctype # - php-ctype
- php-dom # - php-dom
- php-exif # Optional (for image rotation in pictures app) # - php-exif # Optional (for image rotation in pictures app)
- php-fileinfo # Optional (enhances file analysis performance) # - php-fileinfo # Optional (enhances file analysis performance)
- php-iconv # - php-iconv
- php-posix # - php-posix
- php-simplexml # - php-simplexml
- php-xmlreader # - php-xmlreader
- php-xmlwriter # - php-xmlwriter
state: present # state: present
when: not is_raspbian # when: not is_raspbian
- name: Create dir {{ nextcloud_root_dir }} - name: Create dir {{ nextcloud_root_dir }}