stuvusIT.systemd-timesyncd

systemd-timesyncd

Ta rola ustawia strefę czasową oraz konfiguruje i włącza systemd-timesyncd.

Wymagania

systemd

Zmienne roli

Nazwa Domyślnie/Wymagane Opis
timesync_timezone Etc/UTC Strefa czasowa do ustawienia (względem /usr/share/zoneinfo)
timesync_ntp_hosts Tablica hostów NTP
timesync_fallback_ntp_hosts {0..3}.pool.ntp.org Tablica zapasowych hostów NTP
timesync_write_hwclock_on_change True Czy zapisać czas do zegara sprzętowego po zmianie konfiguracji.

Zależności

Brak

Przykład Pliku Playbook

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

Licencja

Ta praca jest licencjonowana na podstawie Creative Commons Attribution-ShareAlike 4.0 International License.

Informacje o autorze

O projekcie

Set timezone and configure systemd-timesyncd

Zainstaluj
ansible-galaxy install stuvusIT.systemd-timesyncd
Licencja
other
Pobrania
184.5k
Właściciel
stuvus IT Team - Studierendenvertretung Universität Stuttgart