add conditional
This commit is contained in:
parent
3815c3d32a
commit
0c3e23f781
|
@ -7,6 +7,11 @@
|
||||||
|
|
||||||
tasks:
|
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"
|
- name: "[CONFIG NTP] Install and configure ntp"
|
||||||
import_role:
|
import_role:
|
||||||
name: config-ntp
|
name: config-ntp
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
# Install and configure NTP
|
# 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
|
# SE OMITE , SE REALIZA CON systemd-timesyncd.service
|
||||||
# paso1
|
# paso1
|
||||||
|
|
Loading…
Reference in New Issue