Merge "Move timezone configuration from ntp.yml to time.yml"

This commit is contained in:
Zuul 2020-05-28 15:59:40 +00:00 committed by Gerrit Code Review
commit 68fb5ec429
5 changed files with 29 additions and 15 deletions

View File

@ -1,5 +1,5 @@
---
# Kayobe NTP configuration.
# Kayobe time configuration.
###############################################################################
# Timezone.

View File

@ -381,14 +381,14 @@ overwritten by Kayobe are removed.
Timezone
========
*tags:*
| ``ntp``
| ``timezone``
The timezone can be configured via the ``timezone`` variable in
``${KAYOBE_CONFIG_PATH}/ntp.yml``. The value must be a valid Linux
``${KAYOBE_CONFIG_PATH}/time.yml``. The value must be a valid Linux
timezone. For example:
.. code-block:: yaml
:caption: ``ntp.yml``
:caption: ``timezone.yml``
timezone: Europe/London
@ -399,8 +399,9 @@ Since the Ussuri release, Kayobe no longer supports configuration of an NTP
daemon on the host, since the ``ntp`` package is no longer available in CentOS
8.
Kolla Ansible can deploy a chrony container, and from the Ussuri release chrony
is enabled by default.
Kolla Ansible can deploy a chrony container on overcloud hosts, and from the
Ussuri release chrony is enabled by default. There is no support for running a
chrony container on the seed or seed hypervisor hosts.
To disable the containerised chrony daemon, set the following in
``${KAYOBE_CONFIG_PATH}/kolla.yml``:

View File

@ -1,18 +1,13 @@
---
# Kayobe NTP configuration.
###############################################################################
# Timezone.
# Name of the local timezone.
#timezone:
###############################################################################
# Network Time Protocol (NTP).
# Timezone configuration has moved to time.yml.
#
# Support for running an NTP daemon on the host is no longer available.
# Instead the Kolla Ansible 'chrony' container is deployed by default. Set
# 'kolla_enable_chrony' to 'false' in kolla.yml to disable it.
#
# This file will be removed in the Victoria release.
###############################################################################
# Dummy variable to allow Ansible to accept this file.

12
etc/kayobe/time.yml Normal file
View File

@ -0,0 +1,12 @@
---
# Kayobe time configuration.
###############################################################################
# Timezone.
# Name of the local timezone.
#timezone:
###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
Timezone configuration has been moved from the ``ntp.yml`` configuration
file to ``time.yml``. The Ansible tag applied to the play has been
renamed from ``ntp`` to ``timezone``.