Skip to content

Commit

Permalink
Update chrony.conf location for Debian (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thulium-Drake authored Mar 29, 2023
1 parent 4e8712b commit 46f1930
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
- name: Generate chrony.conf file
template:
src: chrony.conf.j2
dest: /etc/chrony.conf
dest: "{{ timesync_chrony_conf_path }}"
backup: true
mode: 0644
# wokeignore:rule=master
Expand Down
1 change: 1 addition & 0 deletions vars/CentOS_6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
timesync_ntp_provider_os_default: ntp
timesync_chrony_dhcp_sourcedir: ""
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
timesync_chrony_conf_path: "/etc/chrony.conf"
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd
timesync_ptp4l_sysconfig_path: /etc/sysconfig/ptp4l
timesync_phc2sys_sysconfig_path: /etc/sysconfig/phc2sys
Expand Down
1 change: 1 addition & 0 deletions vars/CentOS_9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
timesync_ntp_provider_os_default: chrony
timesync_chrony_dhcp_sourcedir: /run/chrony-dhcp
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
timesync_chrony_conf_path: "/etc/chrony.conf"
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd
timesync_ptp4l_sysconfig_path: /etc/sysconfig/ptp4l
timesync_phc2sys_sysconfig_path: /etc/sysconfig/phc2sys
Expand Down
1 change: 1 addition & 0 deletions vars/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
timesync_ntp_provider_os_default: "chrony"
timesync_chrony_dhcp_sourcedir: "/run/chrony-dhcp"
timesync_chrony_sysconfig_path: "/etc/default/chrony"
timesync_chrony_conf_path: "/etc/chrony/chrony.conf"
timesync_ntp_sysconfig_path: "/etc/default/ntp"
timesync_ptp4l_sysconfig_path: ""
timesync_phc2sys_sysconfig_path: ""
Expand Down
1 change: 1 addition & 0 deletions vars/OracleLinux_6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
timesync_ntp_provider_os_default: ntp
timesync_chrony_dhcp_sourcedir: ""
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
timesync_chrony_conf_path: "/etc/chrony.conf"
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd
1 change: 1 addition & 0 deletions vars/OracleLinux_7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
timesync_ntp_provider_os_default: ntp
timesync_chrony_dhcp_sourcedir: ""
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
timesync_chrony_conf_path: "/etc/chrony.conf"
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd
1 change: 1 addition & 0 deletions vars/OracleLinux_8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
timesync_ntp_provider_os_default: chrony
timesync_chrony_dhcp_sourcedir: /run/chrony-dhcp
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
timesync_chrony_conf_path: "/etc/chrony.conf"
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd
1 change: 1 addition & 0 deletions vars/OracleLinux_9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
timesync_ntp_provider_os_default: chrony
timesync_chrony_dhcp_sourcedir: /run/chrony-dhcp
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
timesync_chrony_conf_path: "/etc/chrony.conf"
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd
1 change: 1 addition & 0 deletions vars/RedHat_6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
timesync_ntp_provider_os_default: ntp
timesync_chrony_dhcp_sourcedir: ""
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
timesync_chrony_conf_path: "/etc/chrony.conf"
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd
timesync_ptp4l_sysconfig_path: /etc/sysconfig/ptp4l
timesync_phc2sys_sysconfig_path: /etc/sysconfig/phc2sys
Expand Down
1 change: 1 addition & 0 deletions vars/RedHat_9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
timesync_ntp_provider_os_default: chrony
timesync_chrony_dhcp_sourcedir: /run/chrony-dhcp
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
timesync_chrony_conf_path: "/etc/chrony.conf"
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd
timesync_ptp4l_sysconfig_path: /etc/sysconfig/ptp4l
timesync_phc2sys_sysconfig_path: /etc/sysconfig/phc2sys
Expand Down
1 change: 1 addition & 0 deletions vars/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
timesync_ntp_provider_os_default: chrony
timesync_chrony_dhcp_sourcedir: ""
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
timesync_chrony_conf_path: "/etc/chrony.conf"
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd
timesync_ptp4l_sysconfig_path: /etc/sysconfig/ptp4l
timesync_phc2sys_sysconfig_path: /etc/sysconfig/phc2sys
Expand Down

0 comments on commit 46f1930

Please sign in to comment.