Install and setup aws-timesync service (replacement for ntp service) source: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time.html
None.
- name: chrony_ntp_server
desc: ntp server to use by chrony
value: "169.254.169.123"
- name: chrony_conf_file
desc: default path to chrony configuration file
value: "/etc/chrony/chrony.conf"
- name: chrony_service_name
desc: default service name
value: "chrony"
None.
- hosts: all
roles:
- role: ansible-aws-timesync-ntp