2021-09-01 17:31:49 -06:00
|
|
|
---
|
|
|
|
# file: roles/base/tasks/redhat_time_sync.yml
|
|
|
|
|
|
|
|
- name: Install chrony package
|
|
|
|
package:
|
|
|
|
name: chrony
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: Start and enable chrony
|
|
|
|
service:
|
|
|
|
name: chronyd
|
|
|
|
state: started
|
|
|
|
enabled: yes
|
2021-09-09 15:19:32 -06:00
|
|
|
|
|
|
|
- name: Set timezone to defined variable
|
|
|
|
timezone:
|
|
|
|
name: "{{ base_core_timezone }}"
|