feat(base): Add chrony

This commit is contained in:
Marty Oehme 2025-02-21 16:02:11 +01:00
parent 83e64b6776
commit dc0f272c04
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -102,6 +102,13 @@
when: libc_locales_file.stat.exists
notify: glibc-locales-changed
- name: Set up chrony for NTP management
community.general.xbps:
name:
- chrony
state: present
notify: installed-chrony
handlers:
- name: Regenerate locales
ansible.builtin.command:
@ -110,3 +117,12 @@
- --force
- libc-locales
listen: glibc-locales-changed
- name: Activate chronyd service
ansible.builtin.file:
force: "yes"
src: "/etc/sv/{{ item }}"
dest: "/etc/runit/runsvdir/default/{{ item }}"
state: link
with_items: [chronyd]
listen: installed-chrony