Files
ansible/roles/roundcube/vars/main.yml
2025-03-09 15:01:51 +01:00

22 lines
1014 B
YAML

---
roundcube_version: "1.6.10"
roundcube_url: "https://github.com/roundcube/roundcubemail/releases/download/{{ roundcube_version }}/roundcubemail-{{ roundcube_version }}-complete.tar.gz"
# calculate the roundcube access URL given the `web_hostname` list
# only the first occurence is supported
roundcube_access_url: "{{ web_hostname | selectattr('type', 'defined') | selectattr('type', '==', 'roundcube') | map(attribute='host') | first }}"
roundcube_app_home: "/var/www/{{ roundcube_access_url }}"
roundcube_config_path: "{{ roundcube_app_home }}/config/config.inc.php"
# App dirs
roundcube_writable_app_dirs:
- logs
- temp
# CardDAV extension
roundcube_carddav_version: "5.1.0"
roundcube_carddav_url: "https://github.com/mstilkerich/rcmcarddav/releases/download/v{{ roundcube_carddav_version }}/carddav-v{{ roundcube_carddav_version }}.tar.gz"
roundcube_carddav_discovery_url: "{{ web_hostname | selectattr('type', 'defined') | selectattr('type', '==', 'nextcloud') | map(attribute='host') | first }}"