Skip to content

Commit 46f1930

Browse files
Update chrony.conf location for Debian (#187)
1 parent 4e8712b commit 46f1930

File tree

11 files changed

+11
-1
lines changed

11 files changed

+11
-1
lines changed

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
- name: Generate chrony.conf file
101101
template:
102102
src: chrony.conf.j2
103-
dest: /etc/chrony.conf
103+
dest: "{{ timesync_chrony_conf_path }}"
104104
backup: true
105105
mode: 0644
106106
# wokeignore:rule=master

vars/CentOS_6.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
timesync_ntp_provider_os_default: ntp
33
timesync_chrony_dhcp_sourcedir: ""
44
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
5+
timesync_chrony_conf_path: "/etc/chrony.conf"
56
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd
67
timesync_ptp4l_sysconfig_path: /etc/sysconfig/ptp4l
78
timesync_phc2sys_sysconfig_path: /etc/sysconfig/phc2sys

vars/CentOS_9.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
timesync_ntp_provider_os_default: chrony
33
timesync_chrony_dhcp_sourcedir: /run/chrony-dhcp
44
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
5+
timesync_chrony_conf_path: "/etc/chrony.conf"
56
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd
67
timesync_ptp4l_sysconfig_path: /etc/sysconfig/ptp4l
78
timesync_phc2sys_sysconfig_path: /etc/sysconfig/phc2sys

vars/Debian.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
timesync_ntp_provider_os_default: "chrony"
33
timesync_chrony_dhcp_sourcedir: "/run/chrony-dhcp"
44
timesync_chrony_sysconfig_path: "/etc/default/chrony"
5+
timesync_chrony_conf_path: "/etc/chrony/chrony.conf"
56
timesync_ntp_sysconfig_path: "/etc/default/ntp"
67
timesync_ptp4l_sysconfig_path: ""
78
timesync_phc2sys_sysconfig_path: ""

vars/OracleLinux_6.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
timesync_ntp_provider_os_default: ntp
33
timesync_chrony_dhcp_sourcedir: ""
44
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
5+
timesync_chrony_conf_path: "/etc/chrony.conf"
56
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd

vars/OracleLinux_7.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
timesync_ntp_provider_os_default: ntp
33
timesync_chrony_dhcp_sourcedir: ""
44
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
5+
timesync_chrony_conf_path: "/etc/chrony.conf"
56
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd

vars/OracleLinux_8.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
timesync_ntp_provider_os_default: chrony
33
timesync_chrony_dhcp_sourcedir: /run/chrony-dhcp
44
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
5+
timesync_chrony_conf_path: "/etc/chrony.conf"
56
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd

vars/OracleLinux_9.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
timesync_ntp_provider_os_default: chrony
33
timesync_chrony_dhcp_sourcedir: /run/chrony-dhcp
44
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
5+
timesync_chrony_conf_path: "/etc/chrony.conf"
56
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd

vars/RedHat_6.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
timesync_ntp_provider_os_default: ntp
33
timesync_chrony_dhcp_sourcedir: ""
44
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
5+
timesync_chrony_conf_path: "/etc/chrony.conf"
56
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd
67
timesync_ptp4l_sysconfig_path: /etc/sysconfig/ptp4l
78
timesync_phc2sys_sysconfig_path: /etc/sysconfig/phc2sys

vars/RedHat_9.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
timesync_ntp_provider_os_default: chrony
33
timesync_chrony_dhcp_sourcedir: /run/chrony-dhcp
44
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
5+
timesync_chrony_conf_path: "/etc/chrony.conf"
56
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd
67
timesync_ptp4l_sysconfig_path: /etc/sysconfig/ptp4l
78
timesync_phc2sys_sysconfig_path: /etc/sysconfig/phc2sys

0 commit comments

Comments
 (0)