Installs the roundcube webmail https://roundcube.net
Go to file
Andrea Dell'Amico 7a35f6edb1
New default version.
2023-10-17 12:46:31 +02:00
defaults New default version. 2023-10-17 12:46:31 +02:00
handlers Initial commit 2020-07-10 12:24:45 +02:00
meta Import the old role. 2020-07-10 16:46:06 +02:00
tasks Add a logrotate entry. Move the default logs dir to /var/log/roundcube 2020-10-12 16:03:11 +02:00
templates Show the email address by default. 2022-05-20 13:11:43 +02:00
tests Initial commit 2020-07-10 12:24:45 +02:00
vars Set the correct php socket path. 2020-07-10 19:48:50 +02:00
.gitignore Initial commit 2020-07-10 12:24:45 +02:00
LICENSE Initial commit 2020-07-10 12:24:45 +02:00
README.md Add a logrotate entry. Move the default logs dir to /var/log/roundcube 2020-10-12 16:03:11 +02:00

README.md

ansible-role-roundcube

A role that installs the RoundCube webmail, https://roundcube.net/

To upgrade, run the playbook with the following options: -e roundcube_upgrade=True -e roundcube_old_version='version_number'

Role Variables

The most important variables are listed below:

roundcube_version: 1.4.9
roundcube_upgrade: False
roundcube_dist: 'roundcubemail-{{ roundcube_version }}'
roundcube_dist_filename: '{{ roundcube_dist }}-complete.tar.gz'
roundcube_download_url: 'https://github.com/roundcube/roundcubemail/releases/download/{{ roundcube_version }}/{{ roundcube_dist_filename }}'
roundcube_use_redis: False
roundcube_use_memcache: True
roundcube_local_postgresql: True
roundcube_web_basedir: /var/www/html
roundcube_web_root: '{{ roundcube_web_basedir }}/roundcube'
roundcube_data_base_dir: /srv
roundcube_data_dir: '{{ roundcube_data_base_dir }}/roundcube'
roundcube_logs_dir: '{{ roundcube_data_dir }}/logs'
roundcube_temp_dir: '{{ roundcube_data_dir }}/temp'
roundcube_skin_logo: 'null'

roundcube_servername: '{{ ansible_fqdn }}'
roundcube_user: roundcube
roundcube_db: pgsql
roundcube_db_host: localhost
roundcube_db_name: roundcubemail
roundcube_db_user: roundcube_u
#roundcube_db_pwd: 'Use a vault file'

roundcube_imap_server: 'localhost'
roundcube_imap_connection_type: 'tls'
roundcube_smtp_server: 'localhost'
roundcube_smtp_port: 587
roundcube_smtp_automatic_credentials: True
# roundcube automatic credentials set the user to %u and the password to %p
#roundcube_smtp_user: '%u'
#roundcube_smtp_pass: '%p'
roundcube_smtp_user: ''
roundcube_smtp_pass: ''
roundcube_support_url: ''
roundcube_product_name: 'Roundcube Webmail'
#roundcube_crypt_key: 'Use a vault file'
roundcube_force_https_connection: true
# 0 - disabled, 1 - username and host only, 2 - username, host, password
roundcube_login_autocomplete: 0
# 0 - disabled, 1 - only domain part, 2 - domain and local part.
roundcube_login_lc: 0

roundcube_memcache_hosts:
  - '127.0.0.1:11211'

Dependencies

  • php-fpm
  • nginx
  • redis (optional)
  • memcached (optional)
  • postgresql (optional)

License

EUPL-1.2

Author Information

Andrea DellAmico, andrea.dellamico@isti.cnr.it