Update to 2024-09-23 23:00

This commit is contained in:
Daniel Berteaud
2024-09-23 23:00:09 +02:00
parent abb4d79e6c
commit 9c1159e3de
16 changed files with 127 additions and 76 deletions

View File

@@ -0,0 +1,19 @@
---
- include_vars: "{{ item }}"
with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml
tags: ntp
- name: Check if systemd-timesyncd is available
stat: path=/lib/systemd/systemd-timesyncd
register: systemd_timesyncd
tags: ntp
- name: Check if ntpd is installed
stat: path=/lib/systemd/system/{{ ntp_ntpd_service }}.service
register: ntp_unit
tags: ntp