summaryrefslogtreecommitdiffstats
path: root/IMAP.yml
blob: 5f2a2a3056837b5754649176df5c751d58fbadbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- name: Configure the IMAP server
  hosts: IMAP
  roles:
    - { role: IMAP, inst: IMAP }
  tags:
    - imap
    - dovecot

- name: Configure IMAP proxies
  hosts: webmail:!IMAP
  roles:
    - { role: IMAP-proxy, imapsvr: "{{ hostvars[groups.IMAP[0]] }}" }
  tags:
    - imap
    - dovecot