Cleanup #107
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- fail:
|
- name: Check for compatibility
|
||||||
|
fail:
|
||||||
msg: only compatible with Debian >= 8
|
msg: only compatible with Debian >= 8
|
||||||
when:
|
when:
|
||||||
- ansible_distribution != "Debian" or ansible_distribution_major_version is version('8', '<')
|
- ansible_distribution != "Debian" or ansible_distribution_major_version is version('8', '<')
|
||||||
|
|
|
@ -14,8 +14,8 @@ galaxy_info:
|
||||||
- jessie
|
- jessie
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- { role: evolix/ldap, ldap_schema: 'cn4evolix.ldif', when: postfix_packmail == True }
|
- { role: evolix/ldap, ldap_schema: 'cn4evolix.ldif', when: postfix_packmail }
|
||||||
- { role: evolix/spamassasin, when: postfix_packmail == True }
|
- { role: evolix/spamassasin, when: postfix_packmail }
|
||||||
- { role: evolix/clamav, when: postfix_packmail == True }
|
- { role: evolix/clamav, when: postfix_packmail }
|
||||||
- { role: evolix/opendkim, when: postfix_packmail == True }
|
- { role: evolix/opendkim, when: postfix_packmail }
|
||||||
- { role: evolix/dovecot, when: postfix_packmail == True }
|
- { role: evolix/dovecot, when: postfix_packmail }
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
- include: common.yml
|
- include: common.yml
|
||||||
|
|
||||||
- include: minimal.yml
|
- include: minimal.yml
|
||||||
when: postfix_packmail == False
|
when: not postfix_packmail
|
||||||
|
|
||||||
- include: packmail.yml
|
- include: packmail.yml
|
||||||
when: postfix_packmail == True
|
when: postfix_packmail
|
||||||
|
|
||||||
- include: slow_transport.yml
|
- include: slow_transport.yml
|
||||||
when: postfix_slow_transport_include
|
when: postfix_slow_transport_include
|
||||||
|
|
Loading…
Reference in a new issue