|
@@ -1,11 +1,18 @@ |
|
|
--- |
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- import_role: |
|
|
|
|
|
name: apache |
|
|
|
|
|
|
|
|
|
|
|
- import_role: |
|
|
|
|
|
name: php |
|
|
|
|
|
vars: |
|
|
|
|
|
php_version: "{{nextcloud_php_version}}" |
|
|
|
|
|
php_configure_opcache: true |
|
|
|
|
|
|
|
|
- name: install apt packages |
|
|
- name: install apt packages |
|
|
apt: |
|
|
apt: |
|
|
pkg: |
|
|
pkg: |
|
|
- apache2 |
|
|
|
|
|
- php{{nextcloud_php_version}}-cli |
|
|
|
|
|
- libapache2-mod-php{{nextcloud_php_version}} |
|
|
|
|
|
- php{{nextcloud_php_version}}-xml |
|
|
- php{{nextcloud_php_version}}-xml |
|
|
- php{{nextcloud_php_version}}-gd |
|
|
- php{{nextcloud_php_version}}-gd |
|
|
- php{{nextcloud_php_version}}-json |
|
|
- php{{nextcloud_php_version}}-json |
|
@@ -22,10 +29,4 @@ |
|
|
- php{{nextcloud_php_version}}-memcached |
|
|
- php{{nextcloud_php_version}}-memcached |
|
|
- libreoffice |
|
|
- libreoffice |
|
|
- mariadb-client |
|
|
- mariadb-client |
|
|
state: present |
|
|
|
|
|
notify: restart apache2 |
|
|
notify: restart apache2 |
|
|
|
|
|
|
|
|
- name: remove default page |
|
|
|
|
|
file: |
|
|
|
|
|
path: /var/www/html/index.html |
|
|
|
|
|
state: absent |
|
|
|