hac/ansible/roles/timesyncd/tasks/main.yml
2024-03-20 13:45:58 +01:00

8 lines
196 B
YAML
Executable file

---
- name: Set timezone to Europe/Brussels
community.general.timezone:
name: Europe/Brussels
- name: Enable ntp
ansible.builtin.command: 'timedatectl set-ntp true'
changed_when: false