Cleanup #107

Open
mtrossevin wants to merge 23 commits from mtrossevin/ansible-roles:cleanup into unstable
3 changed files with 9 additions and 8 deletions
Showing only changes of commit 119e134373 - Show all commits

View file

@ -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', '<')

View file

@ -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 }

View file

@ -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