Use timesyncd instead of ntpd starting with Debian 12 (not always)
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2631|7|2624|9|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/363//ansiblelint">Evolix » ansible-roles » unstable #363</a>
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
David Prevot 2023-09-28 17:25:18 +02:00
parent 35e7f22210
commit f2c37dddff
2 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* userlogrotate: new version, with separate conf file
* userlogrotate: rotate also php.log
* java: allow version 17
* timesyncd: new role, used instead of ntpd by default
* timesyncd: new role, used instead of ntpd by default starting with Debian 12
### Changed

View file

@ -104,8 +104,8 @@ evolinux_system_locales: True
evolinux_system_set_timezone: True
evolinux_system_timezone: "Europe/Paris"
evolinux_system_include_ntpd: False
evolinux_system_include_timesyncd: True
evolinux_system_include_ntpd: "{{ ansible_distribution_major_version is version('12', '<') }}"
evolinux_system_include_timesyncd: "{{ ansible_distribution_major_version is version('12', '>=') }}"
evolinux_system_vim_skip_defaults: True
evolinux_system_vim_default_editor: True