From 7753264b58d5b5bcf11ce156a4f76cedfac9a544 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 31 Jul 2019 01:27:46 +0800 Subject: [PATCH] added TODO: Check if mailserver is ready --- tasks/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index c5cf4dd..71c36e3 100755 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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.