From ea82369fd82fc1ab58e25a45af6050ce231289ca Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 8 May 2018 20:18:28 +0800 Subject: [PATCH] Enable test mail by default; disable on travis --- defaults/main.yml | 4 ++-- tests/test.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index adaac88..a83488c 100755 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -29,8 +29,8 @@ msmtp_alias_default : emailer.tests@yandex.com msmtp_alias_root : emailer.tests@yandex.com msmtp_alias_cron : emailer.tests@yandex.com -## Only enable, if the smtp account is working -msmtp_send_test_mail: no +## Enable, if the the smtp account is working +msmtp_send_test_mail: yes ## This will remove most other mail transfer agents such as postfix, exim,...! msmtp_remove_mtas: no diff --git a/tests/test.yml b/tests/test.yml index 6420616..22b7704 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -4,4 +4,5 @@ roles: - role: role_under_test - msmtp_send_test_mail: yes + # test mail works in a local docker container, but not on travis + msmtp_send_test_mail: no