Files @ 2d15529786b7
Branch filter:

Location: majic-ansible-roles/roles/mail_server/templates/ldap-virtual-alias-maps.cf.j2 - annotation

branko
MAR-218: Fix linting errors related to commands doing unconditional changes:

- Tasks run during the prepare stage of test runs do not matter.
- Some of the role tasks are already effectively running only when
change _will_ happen (when it is detected via variable registered by
a previous task).
# Connection settings.
server_host = {{ mail_ldap_url }}
start_tls = yes
tls_require_cert = yes
tls_ca_cert_file = /etc/ssl/certs/mail_ldap_tls_truststore.pem
bind = yes
bind_dn = cn=postfix,ou=services,{{ mail_ldap_base_dn }}
bind_pw = {{ mail_ldap_postfix_password }}
version = 3

# Query settings.
search_base = ou=aliases,ou=mail,ou=services,{{ mail_ldap_base_dn }}
scope = one
query_filter = cn=%s
result_attribute = rfc822MailMember