add conditional

This commit is contained in:
Ruben Blanco 2024-02-15 12:10:36 +01:00
parent 6531915876
commit c4eda04f42
1 changed files with 5 additions and 0 deletions

View File

@ -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