From e2c2cf4bcf65720c9248c6cd1b2f50bcd859305b Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 27 Aug 2025 18:12:49 +0200 Subject: [PATCH] Updated sys-svc-msmtp execution condition --- roles/sys-svc-msmtp/tasks/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/roles/sys-svc-msmtp/tasks/main.yml b/roles/sys-svc-msmtp/tasks/main.yml index 8d537bdc..68aa201e 100644 --- a/roles/sys-svc-msmtp/tasks/main.yml +++ b/roles/sys-svc-msmtp/tasks/main.yml @@ -2,6 +2,4 @@ - include_tasks: 01_core.yml - set_fact: run_once_sys_svc_msmtp: true - when: - - run_once_sys_svc_msmtp is not defined - - (users['no-reply'].mailu_token | default(false)) | bool # Don't setup the service if no-reply mailu token doesn't exist + when: run_once_sys_svc_msmtp is not defined \ No newline at end of file