summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/webmail/tasks/roundcube.yml19
1 files changed, 18 insertions, 1 deletions
diff --git a/roles/webmail/tasks/roundcube.yml b/roles/webmail/tasks/roundcube.yml
index c783feb..5ef1288 100644
--- a/roles/webmail/tasks/roundcube.yml
+++ b/roles/webmail/tasks/roundcube.yml
@@ -4,7 +4,20 @@
- php5-fpm
- php5-ldap
- php5-gd
- - php5-pspell
+ # spell-checking
+ - php5-enchant
+
+- name: Install GNU Aspell and some dictionaries
+ apt: pkg={{ item }}
+ with_items:
+ - aspell
+ - aspell-da
+ - aspell-de
+ - aspell-en
+ - aspell-es
+ - aspell-fr
+ - aspell-no
+ - aspell-sv
- name: Install Roundcube
apt: pkg={{ item }} default_release={{ ansible_lsb.codename }}-backports
@@ -51,6 +64,10 @@
- { var: product_name, value: "'Fripost Webmail'" }
# Plugins
- { var: plugins, value: "array('archive','additional_message_headers','managesieve','password')" }
+ # Spell Checking
+ - { var: enable_spellcheck, value: "'true'" }
+ - { var: spellcheck_engine, value: "'enchant'" }
+ - { var: spellcheck_languages, value: "array('da','de','en','es','fr','no','sv')" }
# User Interface
- { var: skin, value: "'larry'" }
- { var: language, value: "'sv_SE'" }