2017-11-17 20:32:48 +08:00
|
|
|
---
|
|
|
|
- name: restart firewalld
|
|
|
|
service:
|
|
|
|
name: firewalld
|
|
|
|
state: restarted
|
2018-12-12 19:23:23 +08:00
|
|
|
enabled: yes
|
|
|
|
|
|
|
|
- name: disable ntpd
|
|
|
|
failed_when: false
|
|
|
|
service:
|
2019-07-11 02:58:58 +08:00
|
|
|
name: '{{ ntp_service_name }}'
|
2018-12-12 19:23:23 +08:00
|
|
|
state: stopped
|
|
|
|
enabled: no
|
|
|
|
|
|
|
|
- name: disable chronyd
|
|
|
|
failed_when: false
|
|
|
|
service:
|
2019-07-11 02:58:58 +08:00
|
|
|
name: '{{ chrony_daemon_name }}'
|
2018-12-12 19:23:23 +08:00
|
|
|
enabled: no
|
|
|
|
state: stopped
|
|
|
|
|
|
|
|
- name: disable timesyncd
|
|
|
|
failed_when: false
|
|
|
|
service:
|
|
|
|
name: timesyncd
|
|
|
|
enabled: no
|
|
|
|
state: stopped
|