summaryrefslogtreecommitdiffstats
path: root/roles/webmail
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-04-17 02:27:51 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:46 +0200
commit3d4b17515fc21dbb218873b23ff9272ca9474e8e (patch)
tree4d7122f7a4371b460b28596fd168bfd6b520e890 /roles/webmail
parentc2bfdc087c0e5934c3b6836683da20afdb59998b (diff)
typo
Diffstat (limited to 'roles/webmail')
-rw-r--r--roles/webmail/tasks/roundcube.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/webmail/tasks/roundcube.yml b/roles/webmail/tasks/roundcube.yml
index 2d8a8b9..8e48208 100644
--- a/roles/webmail/tasks/roundcube.yml
+++ b/roles/webmail/tasks/roundcube.yml
@@ -1,52 +1,52 @@
- name: Install Roundcube
apt: pkg={{ item }}
with_items:
- roundcube-core
- roundcube-mysql
- roundcube-plugins
- php5-fpm
- php5-ldap
- name: Copy fripost's logo
copy: src=var/lib/roundcube/skins/default/images/logo_webmail.png
dest=/var/lib/roundcube/skins/default/images/logo_webmail.png
owner=root group=root
mode=0644
- name: Configure Roundcube
lineinfile: dest=/etc/roundcube/main.inc.php
- "regexp=^\s*\$rcmail_config\['{{ item.var }}']\s*="
+ "regexp=^\\s*\\$rcmail_config\\['{{ item.var }}'\\]\\s*="
"line=$rcmail_config['{{ item.var }}'] = {{ item.value }};"
owner=root group=www-data
mode=0640
with_items:
# Logging/Debugging
- { var: smtp_log, value: "FALSE" }
# IMAP
- { var: default_host, value: "'localhost'" }
- { var: imap_auth_type, value: "'plain'" }
- { var: imap_cache, value: "null" }
- { var: message_cache, value: "null" }
# SMTP
- - { var: smtp_server, value: "localhost" }
- - { var: smtp_port, value: "2580" }
+ - { var: smtp_server, value: "'localhost'" }
+ - { var: smtp_port, value: "2580" }
# System
- { var: force_https, value: "TRUE" }
- { var: login_autocomplete, value: "2" }
- { var: skin_logo, value: "'skins/default/images/logo_webmail.png'" }
- { var: username_domain, value: "'fripost.org'" }
- { var: product_name, value: "'Fripost'" }
# Plugins
- { var: plugins, value: "array('additional_message_headers','managesieve','password')" }
# User Interface
- { var: language, value: "'sv_SE'" }
- { var: create_default_folders, value: "TRUE" }
# User Preferences
- { var: htmleditor, value: "TRUE" }
- { 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/default/templates/login.html
regexp='^(<roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" style="margin:0 11px" />)$'
line='<a href="https://fripost.org">\1</a>'