2017-10-27 11:52:03 +02:00
|
|
|
---
|
2017-01-02 00:06:18 +01:00
|
|
|
- name: check if main.cf is default
|
2017-10-08 22:47:03 +02:00
|
|
|
shell: grep -v -E "^(myhostname|mydestination|mailbox_command)" /etc/postfix/main.cf | md5sum -
|
2017-01-02 00:06:18 +01:00
|
|
|
changed_when: False
|
2017-03-24 14:15:09 +01:00
|
|
|
check_mode: no
|
2017-01-02 00:06:18 +01:00
|
|
|
register: default_main_cf
|
2017-10-11 11:10:43 +02:00
|
|
|
tags:
|
|
|
|
- postfix
|
2017-01-12 17:22:16 +01:00
|
|
|
|
2017-10-27 11:52:03 +02:00
|
|
|
- include: minimal.yml
|
|
|
|
when: postfix_packmail == False
|
2017-10-24 15:23:52 +02:00
|
|
|
|
2017-10-27 11:52:03 +02:00
|
|
|
- include: packmail.yml
|
2017-10-24 15:23:52 +02:00
|
|
|
when: postfix_packmail == True
|
|
|
|
|
2017-01-02 00:32:29 +01:00
|
|
|
- include: slow_transport.yml
|
2017-01-12 17:22:16 +01:00
|
|
|
when: postfix_slow_transport_include
|