summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-09-29 01:25:32 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-09-29 01:25:32 +0200
commitbb67c144aa93a733402876b3161281724fca24da (patch)
treec08171d5dadf427591a0b60408b4ab5251ede51a
parentb095e109bec3c896ccf102ec143034af492ddc88 (diff)
Make roundcube plugin configuration static files.
-rw-r--r--roles/webmail/files/etc/roundcube/plugins/additional_message_headers/config.inc.php (renamed from roles/webmail/templates/etc/roundcube/plugins/additional_message_headers/config.inc.php.j2)0
-rw-r--r--roles/webmail/files/etc/roundcube/plugins/managesieve/config.inc.php (renamed from roles/webmail/templates/etc/roundcube/plugins/managesieve/config.inc.php.j2)0
-rw-r--r--roles/webmail/files/etc/roundcube/plugins/password/config.inc.php (renamed from roles/webmail/templates/etc/roundcube/plugins/password/config.inc.php.j2)0
-rw-r--r--roles/webmail/tasks/roundcube.yml8
4 files changed, 4 insertions, 4 deletions
diff --git a/roles/webmail/templates/etc/roundcube/plugins/additional_message_headers/config.inc.php.j2 b/roles/webmail/files/etc/roundcube/plugins/additional_message_headers/config.inc.php
index 63eeb8c..63eeb8c 100644
--- a/roles/webmail/templates/etc/roundcube/plugins/additional_message_headers/config.inc.php.j2
+++ b/roles/webmail/files/etc/roundcube/plugins/additional_message_headers/config.inc.php
diff --git a/roles/webmail/templates/etc/roundcube/plugins/managesieve/config.inc.php.j2 b/roles/webmail/files/etc/roundcube/plugins/managesieve/config.inc.php
index 1423610..1423610 100644
--- a/roles/webmail/templates/etc/roundcube/plugins/managesieve/config.inc.php.j2
+++ b/roles/webmail/files/etc/roundcube/plugins/managesieve/config.inc.php
diff --git a/roles/webmail/templates/etc/roundcube/plugins/password/config.inc.php.j2 b/roles/webmail/files/etc/roundcube/plugins/password/config.inc.php
index c32f58e..c32f58e 100644
--- a/roles/webmail/templates/etc/roundcube/plugins/password/config.inc.php.j2
+++ b/roles/webmail/files/etc/roundcube/plugins/password/config.inc.php
diff --git a/roles/webmail/tasks/roundcube.yml b/roles/webmail/tasks/roundcube.yml
index ab13729..309aba4 100644
--- a/roles/webmail/tasks/roundcube.yml
+++ b/roles/webmail/tasks/roundcube.yml
@@ -55,44 +55,44 @@
- { var: skin, value: "'larry'" }
- { var: language, value: "'sv_SE'" }
- { var: create_default_folders, value: "true" }
# User Preferences
- { var: htmleditor, value: "3" }
- { var: skip_deleted, value: "true" }
- { var: check_all_folders, value: "false" }
- name: Make the logo a hyperlink to the website
lineinfile: dest=/usr/share/roundcube/skins/{{ item }}/templates/login.html
regexp='^(<roundcube:object name="logo" src="/images/roundcube_logo.png"[^>]* />)$'
line='<a href="https://fripost.org">\1</a>'
backrefs=yes
owner=root group=root
mode=0644
with_items:
- classic
- larry
- name: Configure Roundcube plugins
- template: src=etc/roundcube/plugins/{{ item }}/config.inc.php.j2
- dest=/etc/roundcube/plugins/{{ item }}/config.inc.php
- owner=root group=root
- mode=0644
+ copy: src=etc/roundcube/plugins/{{ item }}/config.inc.php
+ dest=/etc/roundcube/plugins/{{ item }}/config.inc.php
+ owner=root group=root
+ mode=0644
with_items:
- additional_message_headers
- managesieve
- password
- name: Start php5-fpm
service: name=php5-fpm state=started
- name: Generate a private key and a X.509 certificate for Nginx
command: genkeypair.sh x509
--pubkey=/etc/nginx/ssl/mail.fripost.org.pem
--privkey=/etc/nginx/ssl/mail.fripost.org.key
--ou=WWW --cn=mail.fripost.org --dns=mail.fripost.org
-t rsa -b 4096 -h sha512
register: r1
changed_when: r1.rc == 0
failed_when: r1.rc > 1
notify:
- Restart Nginx
tags: