diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-09-29 02:36:46 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-09-29 02:36:46 +0200 |
commit | bf410757052f9e8572a856f45007d89c81cc066b (patch) | |
tree | ce3d372460edc77c0125bed95a45b83becc1a2bd /roles/webmail | |
parent | bc70532fac05273647092617733829545a3b8f0d (diff) |
roundcube: Use php5-enchant and GNU Aspell for spell-checking.
Diffstat (limited to 'roles/webmail')
-rw-r--r-- | roles/webmail/tasks/roundcube.yml | 19 |
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'" } |