From 92e67060d6f586bcc72b9bb4fad6abd691e5bfa8 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Mon, 9 Sep 2019 12:14:45 +0200 Subject: [PATCH] Horde role fixed --- .../ispmail-webmail-apache-horde/tasks/main.yml | 41 ++++++++++++++-------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/ansible/roles/ispmail-webmail-apache-horde/tasks/main.yml b/ansible/roles/ispmail-webmail-apache-horde/tasks/main.yml index 73a3fe8..88a86e7 100644 --- a/ansible/roles/ispmail-webmail-apache-horde/tasks/main.yml +++ b/ansible/roles/ispmail-webmail-apache-horde/tasks/main.yml @@ -1,8 +1,19 @@ -- name: Install required binary packages - apt: name={{item}} state=installed - with_items: - - apache2 - - libapache2-mod-php +- name: install required binary packages + apt: + name: "{{ packages }}" + vars: + packages: + - apache2 + - php-horde-imp + - php-horde-ingo + - php-horde-kronolith + - php-horde-turba + +- name: install patch to fix Debian bug #931255 + patch: + src: horde-text-filter-linkurls.patch + basedir: /usr/share/php/Horde + notify: restart apache - name: Create Apache vhost configuration for HTTPS (Horde and Adminer) template: @@ -30,15 +41,15 @@ password: "{{ispmail_mysql_horde_password}}" priv: horde.*:ALL -- name: Generate random secret key for this Horde installation - command: pwgen -s 20 - register: horde_secret_key -- name: Generate Horde config file - template: - src: horde/conf.php.j2 - dest: /etc/horde/horde/conf.php +# - name: Generate random secret key for this Horde installation +# command: pwgen -s 20 +# register: horde_secret_key +# - name: Generate Horde config file +# template: +# src: horde/conf.php.j2 +# dest: /etc/horde/horde/conf.php -- name: Create Horde database schema - command: /usr/bin/horde-db-migrate +# - name: Create Horde database schema +# command: /usr/bin/horde-db-migrate -# code: language=ansible insertSpaces=true tabSize=2 +# # code: language=ansible insertSpaces=true tabSize=2