mirror of https://github.com/easzlab/kubeasz.git
安装chrony之前确保已卸载ntp
parent
2e700c7ee1
commit
bbf4dc8c99
|
@ -2,6 +2,9 @@
|
||||||
apt: update_cache=yes cache_valid_time=72000
|
apt: update_cache=yes cache_valid_time=72000
|
||||||
when: ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int >= 16
|
when: ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int >= 16
|
||||||
|
|
||||||
|
- name: 确保已卸载ntp
|
||||||
|
package: name=ntp state=absent
|
||||||
|
|
||||||
- name: 安装 chrony
|
- name: 安装 chrony
|
||||||
package: name=chrony state=latest
|
package: name=chrony state=latest
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue