summaryrefslogtreecommitdiffstats
path: root/IMAP.yml
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-05-23 00:28:37 +0200
committerGuilhem Moulin <guilhem@fripost.org>2016-05-23 01:07:18 +0200
commit4b59f7a4cfe0f84e2084f01671982b7713a534aa (patch)
treec45803940d32ccd2c1003e311ba28467b9d34a4e /IMAP.yml
parent7525e4c5dedea932491c80c3a5b597435a1e351f (diff)
Dovecot imapc: don't hardcode the master IMAP server's IP.
Diffstat (limited to 'IMAP.yml')
-rw-r--r--IMAP.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/IMAP.yml b/IMAP.yml
index 1e55091..5f2a2a3 100644
--- a/IMAP.yml
+++ b/IMAP.yml
@@ -3,11 +3,14 @@
hosts: IMAP
roles:
- { role: IMAP, inst: IMAP }
+ tags:
+ - imap
+ - dovecot
- name: Configure IMAP proxies
hosts: webmail:!IMAP
roles:
- - IMAP-proxy
+ - { role: IMAP-proxy, imapsvr: "{{ hostvars[groups.IMAP[0]] }}" }
tags:
- imap
- dovecot