add conditional

This commit is contained in:
Ruben Blanco 2024-02-15 17:13:48 +01:00
parent 2bc8d895f1
commit eb9751aa7a
2 changed files with 11 additions and 1 deletions

View File

@ -6,7 +6,12 @@
gather_facts: no
tasks:
- name: "[CONFIG REPO VN] Comprobando si es necesario configurar repositorios"
debug:
msg: "No es necesario configurar repositorios en la máquina"
when: repo-vn_enabled is not defined or not repo-vn_enabled
- name: "[CONFIG REPO VN] Add-repos-vn"
import_role:
name: config-repo-vn

View File

@ -1,3 +1,8 @@
- name: "[CONFIG REPO VN] Comprobando si es necesario configurar repositorios"
meta: end_host
when: repo-vn_enabled is not defined or not repo-vn_enabled
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# SE OBVIA , ACTUALMENTE SE INSTALA PACKAGE DEB INSTALA gpg.key + REPOS
# descargar http://apt.verdnatura.es/pool/main/v/vn-host/vn-host_2.0.2_all.deb e instalar (manualmente wget + dpkg -i package)