54 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			YAML
		
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			YAML
		
	
	
---
 | 
						|
glob_roundcube:
 | 
						|
  name: Crans
 | 
						|
  imap_server: owl.adm.crans.org
 | 
						|
  smtp_server: tls://smtp.adm.crans.org
 | 
						|
  pgsql_server: pgsql.adm.crans.org
 | 
						|
  mail_domain: crans.org
 | 
						|
  des_key: "{{ vault.roundcube.des_key }}"
 | 
						|
  plugins:
 | 
						|
    - repo: 'https://gitlab.adm.crans.org/nounous/roundcube-intranet.git'
 | 
						|
      name: intranet
 | 
						|
      version: HEAD
 | 
						|
    - repo: 'https://gitlab.adm.crans.org/nounous/roundcube-plugin-filters.git'
 | 
						|
      name: filters
 | 
						|
      version: master
 | 
						|
    - repo: 'https://gitlab.adm.crans.org/nounous/roundcube-plugin-automatic_addressbook.git'
 | 
						|
      name: automatic_addressbook
 | 
						|
      version: 0.4.3
 | 
						|
    - repo: 'https://gitlab.adm.crans.org/nounous/roundcube-plugin-identity_smtp.git'
 | 
						|
      name: identity_smtp
 | 
						|
      version: HEAD
 | 
						|
    - name: zipdownload
 | 
						|
    - name: attachment_reminder
 | 
						|
    - name: newmail_notifier
 | 
						|
    - name: listcommands
 | 
						|
    - name: thunderbird_labels
 | 
						|
    - name: contextmenu
 | 
						|
  logo:
 | 
						|
    elastic_login: https://www.crans.org/images/crans_black.svg
 | 
						|
    elastic: https://www.crans.org/images/crans.svg
 | 
						|
    larry: https://www.crans.org/images/crans_banner.png
 | 
						|
    classic: https://www.crans.org/images/crans_banner.png
 | 
						|
 | 
						|
loc_nginx:
 | 
						|
  service_name: "roundcube"
 | 
						|
  ssl: []
 | 
						|
  servers:
 | 
						|
    - server_name: "{{ query('ldap', 'ip', ansible_hostname, 'adm') | ansible.utils.ipwrap + [ansible_hostname, ansible_hostname + '.adm.crans.org'] }}"
 | 
						|
      default: true
 | 
						|
      root: "/var/lib/roundcube"
 | 
						|
      locations:
 | 
						|
        - filter: "~ \\.php$"
 | 
						|
          params:
 | 
						|
            - "include snippets/fastcgi-php.conf"
 | 
						|
            - "fastcgi_buffer_size 128k"
 | 
						|
            - "fastcgi_buffers 4 256k"
 | 
						|
            - "fastcgi_busy_buffers_size 256k"
 | 
						|
            - "fastcgi_pass unix:/var/run/php/php7.4-fpm.sock"
 | 
						|
            - "include fastcgi_params"
 | 
						|
      additional_params:
 | 
						|
        - "index index.php index.htm index.html"
 | 
						|
        - "try_files $uri $uri/ /index.php?q=$uri&$args"
 | 
						|
        - "client_max_body_size 10G"
 |