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

15 lines
320 B
YAML
Raw Normal View History

2022-12-20 19:47:11 +01:00
---
- 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 }}"