stuvusIT.systemd-timesyncd

systemd-timesyncd

Este rol establece la zona horaria y configura y habilita systemd-timesyncd.

Requisitos

systemd

Variables del Rol

Nombre Predeterminado/Obligatorio Descripción
timesync_timezone Etc/UTC Zona horaria a establecer (relativa a /usr/share/zoneinfo)
timesync_ntp_hosts Array de hosts NTP
timesync_fallback_ntp_hosts {0..3}.pool.ntp.org Array de hosts NTP de respaldo
timesync_write_hwclock_on_change True Si se debe escribir la hora en el reloj de hardware después de cambiar la configuración.

Dependencias

Ninguna

Ejemplo de Playbook

- hosts: all
  roles:
  - systemd-timesyncd
    timesync_timezone: Europe/Berlin
    timesync_ntp_hosts:
      - some.ntp.host
      - another.ntp.host

Licencia

Este trabajo está bajo una Licencia de Atribución-CompartirIgual 4.0 Internacional de Creative Commons.

Información del Autor

Acerca del proyecto

Set timezone and configure systemd-timesyncd

Instalar
ansible-galaxy install stuvusIT.systemd-timesyncd
Licencia
other
Descargas
184.5k
Propietario
stuvus IT Team - Studierendenvertretung Universität Stuttgart