add conditional

This commit is contained in:
Ruben Blanco 2024-02-15 11:42:02 +01:00
parent 87684a557b
commit 9b01dcc830
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,8 @@
- name: "[CONFIG RESOLV FILE] Comprobando si es necesario configurar resolv file "
meta: end_host
when: resolv_enabled is not defined or not resolv_enabled
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- name: Replace old /etc/resolv.conf with new /etc/resolv.conf
template: