ansible-roles/postfix/tasks/main.yml

18 lines
412 B
YAML
Raw Normal View History

---
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
- include: minimal.yml
when: postfix_packmail == False
- include: packmail.yml
when: postfix_packmail == True
- include: slow_transport.yml
when: postfix_slow_transport_include