From 580dcdafa7c19acc534994f4536e6fcc5e0ff3b1 Mon Sep 17 00:00:00 2001 From: George Hunt Date: Mon, 5 Jun 2017 18:46:25 -0400 Subject: [PATCH] no libapach2 in centos. just php. no php-magick in centos --- roles/nextcloud/tasks/main.yml | 9 +++++---- vars/Debian.yml | 1 - 2 files changed, 5 insertions(+), 5 deletions(-) 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