File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
roles/matrix-base/defaults Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ matrix_host_command_openssl: "/usr/bin/env openssl"
8383matrix_host_command_systemctl : " /usr/bin/env systemctl"
8484matrix_host_command_sh : " /usr/bin/env sh"
8585
86- matrix_ntpd_package : " {{ 'chrony ' if ansible_distribution == 'CentOS' or ansible_distribution == 'Ubuntu' else 'ntp' }}"
87- matrix_ntpd_service : " {{ 'chronyd ' if ansible_distribution == 'CentOS' or ansible_distribution == 'Ubuntu' else ('ntpd' if ansible_os_family == 'RedHat' or ansible_distribution == 'Archlinux' else 'ntp') }}"
86+ matrix_ntpd_package : " {{ 'systemd-timesyncd ' if ( ansible_distribution == 'CentOS' and ansible_distribution_major_version > '7') or ( ansible_distribution == 'Ubuntu' and ansible_distribution_major_version > '16') else 'ntp' }}"
87+ matrix_ntpd_service : " {{ 'systemd-timesyncd ' if ( ansible_distribution == 'CentOS' and ansible_distribution_major_version > '7') or ( ansible_distribution == 'Ubuntu' and ansible_distribution_major_version > '16') else ('ntpd' if ansible_os_family == 'RedHat' or ansible_distribution == 'Archlinux' else 'ntp') }}"
8888
8989matrix_homeserver_url : " https://{{ matrix_server_fqn_matrix }}"
9090
You can’t perform that action at this time.
0 commit comments