Deprecate enable_host_ntp

As agreed during IRC meeting. [1]

[1] http://eavesdrop.openstack.org/meetings/kolla/2021/kolla.2021-04-07-15.00.html

Change-Id: Ibffa019e2106784e97f5c482106bb5082f788752
This commit is contained in:
Radosław Piliszek 2021-04-27 16:03:22 +00:00
parent 4579b76d89
commit 83f3422fbd
4 changed files with 21 additions and 0 deletions

View File

@ -24,6 +24,8 @@ create_kolla_user_sudoers: "{{ create_kolla_user }}"
kolla_user: "kolla"
kolla_group: "kolla"
# Deprecated since Wallaby. To be dropped in Xena.
# Please use other means of configuring NTP.
enable_host_ntp: False
change_selinux: True

View File

@ -242,6 +242,13 @@
enabled: yes
become: True
- name: Warn about deprecations
debug:
msg: >
enable_host_ntp is deprecated.
Please configure NTP using a different tool.
when: enable_host_ntp | bool
- name: Stop time service
service:
name: ntp

View File

@ -229,5 +229,10 @@ then the SELinux state will be set to ``selinux_state`` (default
Configuration of NTP daemon
~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. warning::
Support for configuration of NTP daemon is deprecated and will be removed in
the next Kolla Ansible release (Xena).
Please use other means of configuring NTP.
This is optional, and enabled by ``enable_host_ntp``, which is ``false`` by
default.

View File

@ -0,0 +1,7 @@
---
deprecations:
- |
Support for configuration of NTP daemon (via ``enable_host_ntp``) is
deprecated and will be removed in the next Kolla Ansible release
(Xena).
Please use other means of configuring NTP.