Files @ 8902cd5aa66b
Branch filter:

Location: majic-ansible-roles/testsite/group_vars/xmpp.yml

branko
MAR-218: Improve mail server role test reliability:

- Introduce sleep after sending out mails in order to ensure that
Postfix has had enough time to process the messages.
- Relevant only for tests that take care of parsing the mail log.
- Solves the false negatives caused by timing issues.
- It might be a good idea down the line to implement some kind of
retry/backoff mechanism instead.
---

local_mail_aliases:
  root: "root john.doe@{{ testsite_domain }}"

smtp_relay_host: mail.{{ testsite_domain }}

smtp_relay_truststore: "{{ lookup('file', inventory_dir + '/tls/ca.pem') }}"

xmpp_administrators:
  - john.doe@{{ testsite_domain }}

xmpp_tls_key: "{{ lookup('file', inventory_dir + '/tls/xmpp.' + testsite_domain + '_xmpp.key') }}"

xmpp_tls_certificate: "{{ lookup('file', inventory_dir + '/tls/xmpp.' + testsite_domain + '_xmpp.pem') }}"

xmpp_domains:
  - "{{ testsite_domain }}"

xmpp_ldap_server: ldap.{{ testsite_domain }}

xmpp_ldap_password: prosody

xmpp_ldap_base_dn: "{{ testsite_ldap_base }}"