add conditional
This commit is contained in:
parent
3815c3d32a
commit
0c3e23f781
|
@ -7,6 +7,11 @@
|
|||
|
||||
tasks:
|
||||
|
||||
- name: "[CONFIG NTP] Comprobando si es necesario configurar ntp"
|
||||
debug:
|
||||
msg: "No es necesario configurar ntp en la máquina"
|
||||
when: ntp_enabled is not defined or not ntp_enabled
|
||||
|
||||
- name: "[CONFIG NTP] Install and configure ntp"
|
||||
import_role:
|
||||
name: config-ntp
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
# Install and configure NTP
|
||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
- name: "[CONFIG NTP] Comprobando si es necesario configurar ntp"
|
||||
meta: end_host
|
||||
when: ntp_enabled is not defined or not ntp_enabled
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# SE OMITE , SE REALIZA CON systemd-timesyncd.service
|
||||
# paso1
|
||||
|
|
Loading…
Reference in New Issue