added TODO: Check if mailserver is ready
This commit is contained in:
parent
9a8f54c913
commit
7753264b58
|
@ -1,5 +1,9 @@
|
||||||
---
|
---
|
||||||
# Deploy msmtp
|
# Deploy msmtp
|
||||||
|
|
||||||
|
# TODO:
|
||||||
|
# Fix: Check if mailserver is ready, as Test mail will only work, if msmtp is setup after the mailserver is already configured
|
||||||
|
|
||||||
- name: Update apt cache.
|
- name: Update apt cache.
|
||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
@ -47,7 +51,7 @@
|
||||||
apk:
|
apk:
|
||||||
name: msmtp, mailx
|
name: msmtp, mailx
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: no
|
||||||
when: ansible_os_family == "Alpine"
|
when: ansible_os_family == "Alpine"
|
||||||
|
|
||||||
- name: Overwrite busybox sendmail link to point to mSMTP.
|
- name: Overwrite busybox sendmail link to point to mSMTP.
|
||||||
|
|
Loading…
Reference in a new issue