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 @@ ...@@ -139,20 +139,20 @@
- restart dhcpcd - restart dhcpcd
when: 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: apt:
pkg: pkg:
- postfix - postfix
state: '{{"present" if postfix or mail_relay is None else "absent"}}' state: '{{"present" if postfix or mail_relay is none else "absent"}}'
notify: notify:
- test mail - 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: apt:
pkg: pkg:
- msmtp - msmtp
- msmtp-mta - 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: notify:
- test mail - 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