toolbox: Move to ansible-core 2.11 and collections

Change-Id: I55327cc3c686eae8f2da85ea957cae851e3041e4
This commit is contained in:
Michał Nasiadka 2021-09-03 11:38:14 +02:00 committed by Michal Nasiadka
parent 88f1e32aa9
commit 6eeb2cbdd1
4 changed files with 19 additions and 2 deletions

View File

@ -82,7 +82,7 @@ RUN mkdir -p /requirements \
ENV PATH {{ virtualenv_path }}/bin:$PATH
{% set kolla_toolbox_pip_packages = [
'ansible==2.10.*',
'ansible-core==2.11.*',
'cmd2',
'influxdb',
'mysqlclient',

View File

@ -1,3 +1,6 @@
[defaults]
# NOTE(mnasiadka): Omit deprecation warning for soft Python3.8 requirement on the controller
# for ansible-core 2.11. Deprecation warnings break output of kolla_toolbox.
deprecation_warnings = False
remote_tmp = /tmp
log_path = /var/log/kolla/ansible.log

View File

@ -1,4 +1,14 @@
---
collections:
- name: ansible.posix
version: '<2'
- name: community.general
version: '<4'
- name: community.mysql
version: '<3'
- name: community.rabbitmq
version: '<2'
- name: openstack.cloud
version: '<2'
- name: openvswitch.openvswitch
version: 2.0.0
version: '<3'

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
Kolla toolbox is now using ansible-core 2.11.