stuvusIT.systemd-timesyncd
systemd-timesyncd
This role sets the time zone and sets up and activates systemd-timesyncd.
Requirements
systemd
Role Variables
Name | Default/Required | Description |
---|---|---|
timesync_timezone |
Etc/UTC |
The time zone to set (related to /usr/share/zoneinfo ) |
timesync_ntp_hosts |
List of NTP hosts | |
timesync_fallback_ntp_hosts |
{0..3}.pool.ntp.org |
List of backup NTP hosts |
timesync_write_hwclock_on_change |
True |
Whether to update the hardware clock after changing the settings. |
Dependencies
None
Example Playbook
- hosts: all
roles:
- systemd-timesyncd
timesync_timezone: Europe/Berlin
timesync_ntp_hosts:
- some.ntp.host
- another.ntp.host
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Author Information
Informazioni sul progetto
Set timezone and configure systemd-timesyncd
Installa
ansible-galaxy install stuvusIT.systemd-timesyncd
Licenza
other
Download
184.5k
Proprietario
stuvus IT Team - Studierendenvertretung Universität Stuttgart