diff --git a/roles/nextcloud/tasks/main.yml b/roles/nextcloud/tasks/main.yml index a3224e83a..ed1f9f203 100644 --- a/roles/nextcloud/tasks/main.yml +++ b/roles/nextcloud/tasks/main.yml @@ -17,7 +17,7 @@ - download - name: Install list of packages for debuntu - apt: name={{ item }} state=installed + package: name={{ item }} state=present with_items: - libapache2-mod-php5 - php{{ php_version }}-gd @@ -30,16 +30,17 @@ when: is_debuntu - name: Install list of packages - apt: name={{ item }} state=installed + package: name={{ item }} state=present with_items: - - libapache2-mod-php5 + - php - php-gd - php-json - php-mysql - php-curl - php-intl - php-mcrypt - - php-imagick +# centos does not have a package for php-imagick +# - php-imagick when: is_redhat - name: Copy it to permanent location /opt diff --git a/vars/Debian.yml b/vars/Debian.yml index 8b75d5a54..feb47f8b3 100644 --- a/vars/Debian.yml +++ b/vars/Debian.yml @@ -5,7 +5,6 @@ dns_user: bind proxy: squid3 proxy_user: proxy apache_service: apache2 -apache_user: apache apache_config_dir: apache2/sites-available apache_data: www-data apache_log_dir: /var/log/apache2