feat(base): Add chrony
This commit is contained in:
parent
83e64b6776
commit
dc0f272c04
1 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue