add conditional

This commit is contained in:
Ruben Blanco 2024-02-15 15:33:38 +01:00
parent c452e88322
commit 9bd354a21d
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,8 @@
- name: "[CONFIG MOTD] Comprobando si es necesario configurar motd"
meta: end_host
when: motd_enabled is not defined or not motd_enabled
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Add message to MOTD # Add message to MOTD
- name: add motd message - name: add motd message