Skip to content
Snippets Groups Projects
Commit a44af0c4 authored by Vladimír Štill's avatar Vladimír Štill
Browse files

ansible: Mail fixes for common_deb

parent 5761bc87
No related branches found
No related tags found
No related merge requests found
......@@ -139,20 +139,20 @@
- restart dhcpcd
when: dhcpcd
- name: '{{"Install" if postfix or mail_relay is None else "Remove"}} postfix'
- name: '{{"Install" if postfix or mail_relay is none else "Remove"}} postfix'
apt:
pkg:
- postfix
state: '{{"present" if postfix or mail_relay is None else "absent"}}'
state: '{{"present" if postfix or mail_relay is none else "absent"}}'
notify:
- test mail
- name: '{{"Remove" if postfix or mail_relay is None else "Install"}} MSMTP'
- name: '{{"Remove" if postfix or mail_relay is none else "Install"}} MSMTP'
apt:
pkg:
- msmtp
- msmtp-mta
state: '{{"absent" if postfix or mail_relay is None else "present"}}'
state: '{{"absent" if postfix or mail_relay is none else "present"}}'
notify:
- test mail
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment