[deyu1@kvm19 ansible]$ ls collections/ansible_collections/rhel/system_roles/roles certificate private_metrics_subrole_elasticsearch cockpit private_metrics_subrole_grafana crypto_policies private_metrics_subrole_mssql firewall private_metrics_subrole_pcp ha_cluster private_metrics_subrole_postfix kdump private_metrics_subrole_redis kernel_settings private_metrics_subrole_repository logging private_metrics_subrole_spark metrics selinux nbde_client ssh nbde_server sshd network storage postfix timesync private_logging_subrole_rsyslog tlog private_metrics_subrole_bpftrace vpn
[deyu1@kvm19 ansible]$ grep ^Example -A17 ....../system_roles/roles/timesync/README.md
Example Playbook
----------------
Install and configure ntp to synchronize the system clock with three NTP servers:
“`yaml
- hosts: targets
vars:
timesync_ntp_servers:
- hostname: foo.example.com
iburst: yes
- hostname: bar.example.com
iburst: yes
- hostname: baz.example.com
iburst: yes
roles:
- rhel.system_roles.timesync
“`