ansible-edda/playbooks/roles/system/base/ntp/tasks/main.yml

15 lines
320 B
YAML

---
- name: "install systemd-timesyncd"
ansible.builtin.apt:
name: "systemd-timesyncd"
- name: "enable systemd-timesyncd"
ansible.builtin.systemd:
name: "systemd-timesyncd"
enabled: true
state: started
- name: "set timezone"
community.general.timezone:
name: "{{ system_base_ntp_timezone }}"