add conditional

This commit is contained in:
Ruben Blanco 2024-02-15 11:49:06 +01:00
parent e222179b31
commit 106330958b
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
---
- name: "[CONFIG UPDATE] Comprobando si es necesario realizar update "
meta: end_host
when: update_enabled is not defined or not update_enabled
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# step1 - run apt-get update
- name: update index of all packages