Skip to content

Commit

Permalink
Merge pull request #1 from Fail-0815/main
Browse files Browse the repository at this point in the history
Fix for Fedora (> 34) based systems
  • Loading branch information
spantaleev authored Jan 17, 2023
2 parents 660f384 + 139e88e commit 16c8a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

devture_timesync_installation_enabled: true

devture_timesync_ntpd_package: "{{ 'systemd-timesyncd' if (ansible_os_family == 'RedHat' and ansible_distribution_major_version | int > 7) or (ansible_distribution == 'Ubuntu' and ansible_distribution_major_version | int > 18) else ('systemd' if ansible_os_family == 'Suse' else 'ntp') }}"
devture_timesync_ntpd_package: "{{ 'systemd-timesyncd' if (ansible_os_family == 'RedHat' and ansible_distribution_major_version | int > 7 and not ansible_distribution == 'Fedora') or (ansible_distribution == 'Ubuntu' and ansible_distribution_major_version | int > 18) else ('systemd' if ansible_os_family == 'Suse' or ansible_distribution == 'Fedora' else 'ntp') }}"
devture_timesync_ntpd_service: "{{ 'systemd-timesyncd' if (ansible_os_family == 'RedHat' and ansible_distribution_major_version | int > 7) or (ansible_distribution == 'Ubuntu' and ansible_distribution_major_version | int > 18) or ansible_distribution == 'Archlinux' or ansible_os_family == 'Suse' else ('ntpd' if ansible_os_family == 'RedHat' else 'ntp') }}"

0 comments on commit 16c8a89

Please sign in to comment.