Project

General

Profile

Revision 929e449f

ID929e449fb816d7fef65983374a139fb82b010b91
Parent fd27c961
Child ad6dfb77

Added by Marc Dequènes 21 days ago

mail: ensure to fetch facts for mda replication partner

View differences:

ansible/playbooks/tenants/duckcorp/mail.yml
116 116
        path: "{{ mail.storage }}"
117 117
        opts: "defaults,acl"
118 118
        passno: 2
119
    - name: Fetch facts for sync partner
120
      setup:
121
      delegate_to: "{{ mail.dovecot.sync_with }}"
122
      delegate_facts: True
123
      when: mail.dovecot.sync_with not in hostvars or 'ansible_fqdn' not in hostvars[mail.dovecot.sync_with]
119 124
    - name: Install MDA/MAA
120 125
      import_role:
121 126
        name: dc-dovecot

Also available in: Unified diff