added TODO: Check if mailserver is ready

This commit is contained in:
Unknown 2019-07-31 01:27:46 +08:00
parent 9a8f54c913
commit 7753264b58
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
---
# 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.
apt:
update_cache: yes
@ -47,7 +51,7 @@
apk:
name: msmtp, mailx
state: present
update_cache: yes
update_cache: no
when: ansible_os_family == "Alpine"
- name: Overwrite busybox sendmail link to point to mSMTP.