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

15 lines
320 B
YAML
Raw Normal View History

2022-12-18 23:43:40 +01:00
---
2022-12-20 17:31:37 +01:00
- name: "install systemd-timesyncd"
ansible.builtin.apt:
name: "systemd-timesyncd"
2022-12-20 17:31:37 +01:00
- name: "enable systemd-timesyncd"
ansible.builtin.systemd:
name: "systemd-timesyncd"
enabled: true
state: started
2022-12-20 17:31:37 +01:00
- name: "set timezone"
community.general.timezone:
2022-12-20 17:31:37 +01:00
name: "{{ system_base_ntp_timezone }}"