From c4eda04f420c11e2d0391121745d4bb6c57a892d Mon Sep 17 00:00:00 2001 From: rubenb Date: Thu, 15 Feb 2024 12:10:36 +0100 Subject: [PATCH] add conditional --- roles/config-relayhost-smtp/tasks/main.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/config-relayhost-smtp/tasks/main.yaml b/roles/config-relayhost-smtp/tasks/main.yaml index 4b908de..6281e30 100644 --- a/roles/config-relayhost-smtp/tasks/main.yaml +++ b/roles/config-relayhost-smtp/tasks/main.yaml @@ -1,3 +1,8 @@ + +- name: "[CONFIG RELAYHOST SMTP] Comprobando si es necesario configurar relayhost smtp" + meta: end_host + when: relay-host_enabled is not defined or not relay-host_enabled + #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Reconfigure relayhost smtp to smtp.verdnatura.es - name: reconfigure relayhost to smtp.verdnatura.es