Clone plugins and add logo
							parent
							
								
									239b8ec406
								
							
						
					
					
						commit
						dc53d4c411
					
				| 
						 | 
				
			
			@ -18,4 +18,9 @@ roundcube_glob:
 | 
			
		|||
    - repo: 'https://gitlab.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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,20 +34,23 @@
 | 
			
		|||
    dest: "/etc/roundcube/plugins/{{ item.name }}"
 | 
			
		||||
    version: "{{ item.version }}"
 | 
			
		||||
  loop: "{{ roundcube.plugins }}"
 | 
			
		||||
  when: item.repo is defined
 | 
			
		||||
 | 
			
		||||
- name: Symlink custom plugins (1)
 | 
			
		||||
  file:
 | 
			
		||||
    src: "/usr/share/roundcube/plugins/{{ item }}"
 | 
			
		||||
    dest: "/var/lib/roundcube/plugins/{{ item }}"
 | 
			
		||||
    src: "/usr/share/roundcube/plugins/{{ item.name }}"
 | 
			
		||||
    dest: "/var/lib/roundcube/plugins/{{ item.name }}"
 | 
			
		||||
    state: link
 | 
			
		||||
  loop: "{{ roundcube.plugins | map(attribute='name') | list }}"
 | 
			
		||||
  loop: "{{ roundcube.plugins }}"
 | 
			
		||||
  when: item.repo is defined
 | 
			
		||||
 | 
			
		||||
- name: Symlink custom plugins (2)
 | 
			
		||||
  file:
 | 
			
		||||
    src: "/etc/roundcube/plugins/{{ item }}"
 | 
			
		||||
    dest: "/usr/share/roundcube/plugins/{{ item }}"
 | 
			
		||||
    src: "/etc/roundcube/plugins/{{ item.name }}"
 | 
			
		||||
    dest: "/usr/share/roundcube/plugins/{{ item.name }}"
 | 
			
		||||
    state: link
 | 
			
		||||
  loop: "{{ roundcube.plugins | map(attribute='name') | list }}"
 | 
			
		||||
  loop: "{{ roundcube.plugins }}"
 | 
			
		||||
  when: item.repo is defined
 | 
			
		||||
 | 
			
		||||
- name: Copy NGINX site
 | 
			
		||||
  template:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -88,5 +88,14 @@ $config['skin'] = 'elastic';
 | 
			
		|||
//         see defaults.inc.php for additional informations
 | 
			
		||||
$config['enable_spellcheck'] = false;
 | 
			
		||||
 | 
			
		||||
// Custom logo
 | 
			
		||||
$config['skin_logo'] = array(
 | 
			
		||||
    "elastic:login[small]" => "https://www.crans.org/images/crans_black.svg",
 | 
			
		||||
    "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"
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
// This domain will be used to form e-mail addresses of new users
 | 
			
		||||
$config['mail_domain'] = '{{ roundcube.mail_domain }}';
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue