diff --git a/roles/sys-ctl-hlth-msmtp/tasks/01_core.yml b/roles/sys-ctl-hlth-msmtp/tasks/01_core.yml index b196a517..20f5ce7b 100644 --- a/roles/sys-ctl-hlth-msmtp/tasks/01_core.yml +++ b/roles/sys-ctl-hlth-msmtp/tasks/01_core.yml @@ -8,4 +8,6 @@ vars: system_service_tpl_on_failure: "{{ SYS_SERVICE_ON_FAILURE_COMPOSE }}" system_service_on_calendar: "{{ SYS_SCHEDULE_HEALTH_MSMTP }}" - system_service_timer_enabled: true \ No newline at end of file + system_service_timer_enabled: true + +- include_tasks: utils/run_once.yml \ No newline at end of file diff --git a/roles/sys-ctl-hlth-msmtp/tasks/main.yml b/roles/sys-ctl-hlth-msmtp/tasks/main.yml index 257ddd53..ea604859 100644 --- a/roles/sys-ctl-hlth-msmtp/tasks/main.yml +++ b/roles/sys-ctl-hlth-msmtp/tasks/main.yml @@ -1,5 +1,4 @@ - block: - include_tasks: 01_core.yml - - include_tasks: utils/run_once.yml when: run_once_sys_ctl_hlth_msmtp is not defined