stuvusIT.systemd-timesyncd

systemd-timesyncd

Ce rôle permet de définir le fuseau horaire et de configurer et activer systemd-timesyncd.

Exigences

systemd

Variables du rôle

Nom Par défaut/Nécessaire Description
timesync_timezone Etc/UTC Fuseau horaire à définir (par rapport à /usr/share/zoneinfo)
timesync_ntp_hosts Tableau d'hôtes NTP
timesync_fallback_ntp_hosts {0..3}.pool.ntp.org Tableau d'hôtes NTP de secours
timesync_write_hwclock_on_change True Indique s'il faut écrire l'heure dans l'horloge matérielle après avoir changé la configuration.

Dépendances

Aucune

Exemple de Playbook

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

Licence

Ce travail est sous Licence Creative Commons Attribution-ShareAlike 4.0 International.

Informations sur l'auteur

À propos du projet

Set timezone and configure systemd-timesyncd

Installer
ansible-galaxy install stuvusIT.systemd-timesyncd
Licence
other
Téléchargements
184.5k
Propriétaire
stuvus IT Team - Studierendenvertretung Universität Stuttgart