kayobe/ansible/time.yml
Will Szumski 085cf7d175 Adds support for configuring chrony
Some hosts in the kayobe inventory might not be in the kolla-ansible
inventory so it makes sense for kayobe to manage NTP.

Change-Id: Iacb579a46b0e9769a4c404a858d17968f74dd7e0
Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/786040
Story: 2007872
Task: 40240
2021-05-07 18:27:50 +02:00

19 lines
353 B
YAML

---
- name: Ensure timezone is configured
hosts: seed-hypervisor:seed:overcloud
tags:
- timezone
tasks:
- import_role:
name: yatesr.timezone
become: True
- name: Ensure Chrony is installed and configured
hosts: ntp
tags:
- ntp
tasks:
- import_role:
name: ntp
when: not kolla_enable_chrony | bool