diff --git a/defaults/main.yml b/defaults/main.yml index 1f2826c..416ddf6 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -11,23 +11,28 @@ roundcube_volume: roundcube # mysql, mariadb, postgresql roundcube_db_type: sqlite roundcube_db_host: localhost +roundcube_db_port: "{{ '5432' if 'post' in roundcube_db_type else '3306' }}" roundcube_db_user: roundcube roundcube_db_password: password +roundcube_db_name: + roundcube{{ '.sqlite' if roundcube_db_type == 'sqlite' else '' }} # data dir (inside container) roundcube_data_dir: /var/www/html # imap -roundcube_imap_host: "" -roundcube_imap_port: "" +roundcube_imap_host: "" #localhost +roundcube_imap_port: "" #143 # smtp -roundcube_smtp_host: "" -roundcube_smtp_port: "" -roundcube_smtp_user: "" -roundcube_smtp_password: "" -roundcube_mail_from_address: "" -roundcube_mail_domain: "" +roundcube_smtp_host: "" #localhost +roundcube_smtp_port: "" #587 + +# plugins +roundcube_plugins: [] + +# upload max filesize +roundcube_upload_max_filesize: 40M # definido por rol docker docker_network_name: dockernet diff --git a/tasks/main.yml b/tasks/main.yml index 1559cb3..7ad0485 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -67,7 +67,6 @@ - name: template nginx config copy: content: | - location {{ roundcube_web_root }} { proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;