diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-09-29 01:26:02 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-09-29 01:26:02 +0200 |
commit | 226daf830d217b87a06d652dd4ad6e775897d966 (patch) | |
tree | 0d4a4e1333dd35a4dbe0d7d9ce0c9c018ff74340 | |
parent | bb67c144aa93a733402876b3161281724fca24da (diff) |
Add jqueryui configuration.
-rw-r--r-- | roles/webmail/files/etc/roundcube/plugins/jqueryui/config.inc.php | 11 | ||||
-rw-r--r-- | roles/webmail/tasks/roundcube.yml | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/roles/webmail/files/etc/roundcube/plugins/jqueryui/config.inc.php b/roles/webmail/files/etc/roundcube/plugins/jqueryui/config.inc.php new file mode 100644 index 0000000..bb9720b --- /dev/null +++ b/roles/webmail/files/etc/roundcube/plugins/jqueryui/config.inc.php @@ -0,0 +1,11 @@ +<?php + +// if you want to load localization strings for specific sub-libraries of jquery-ui, configure them here +$config['jquery_ui_i18n'] = array('datepicker'); + +// map Roundcube skins with jquery-ui themes here +$config['jquery_ui_skin_map'] = array( + 'default' => 'smoothness', +); + +?> diff --git a/roles/webmail/tasks/roundcube.yml b/roles/webmail/tasks/roundcube.yml index 309aba4..c783feb 100644 --- a/roles/webmail/tasks/roundcube.yml +++ b/roles/webmail/tasks/roundcube.yml @@ -61,40 +61,41 @@ - { 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 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 + - jqueryui - 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: - genkey |