mirror of
https://opendev.org/openstack/kolla-ansible.git
synced 2026-01-11 20:07:08 +00:00
Bump ansible-core to 2.19/2.20
wait_discover_computes.yml had to be updated to pass ansible-lint checks for undefined variables (ansible_facts.hostname/nodename was rendered as UndefinedMarker type) Change-Id: Iaded12e9bcf7ed558b7e35ea526ef1355cbca61a Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
This commit is contained in:
parent
51eb7e05a2
commit
7fcde71585
8 changed files with 19 additions and 14 deletions
|
|
@ -74,8 +74,8 @@
|
|||
{{ expected_compute_service_hosts | difference(nova_compute_service_hosts) | list }}
|
||||
# Whether any compute services failed on this host.
|
||||
any_failed_services: >-
|
||||
{{ ansible_facts.nodename in failed_compute_service_hosts or
|
||||
(ansible_facts.hostname ~ "-ironic") in failed_compute_service_hosts }}
|
||||
{{ (ansible_facts.nodename | default()) in failed_compute_service_hosts or
|
||||
((ansible_facts.hostname | default()) ~ "-ironic") in failed_compute_service_hosts }}
|
||||
fail:
|
||||
msg: >-
|
||||
The Nova compute service failed to register itself on the following
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
docker_version_min: '18.09'
|
||||
docker_py_version_min: '3.4.1'
|
||||
ansible_version_min: '2.18'
|
||||
ansible_version_max: '2.19'
|
||||
ansible_version_min: '2.19'
|
||||
ansible_version_max: '2.20'
|
||||
|
||||
# Top level keys should match ansible_facts.distribution.
|
||||
# These map to lists of supported releases (ansible_facts.distribution_release) or
|
||||
|
|
|
|||
|
|
@ -142,10 +142,10 @@ else:
|
|||
TESTED_RUNTIMES_GOVERNANCE_URL =\
|
||||
'https://governance.openstack.org/tc/reference/runtimes/{}.html'.format(KOLLA_OPENSTACK_RELEASE)
|
||||
|
||||
ANSIBLE_CORE_VERSION_MIN = '2.18'
|
||||
ANSIBLE_CORE_VERSION_MAX = '2.19'
|
||||
ANSIBLE_VERSION_MIN = '11'
|
||||
ANSIBLE_VERSION_MAX = '12'
|
||||
ANSIBLE_CORE_VERSION_MIN = '2.19'
|
||||
ANSIBLE_CORE_VERSION_MAX = '2.20'
|
||||
ANSIBLE_VERSION_MIN = '12'
|
||||
ANSIBLE_VERSION_MAX = '13'
|
||||
|
||||
GLOBAL_VARIABLE_MAP = {
|
||||
'|ANSIBLE_CORE_VERSION_MIN|': ANSIBLE_CORE_VERSION_MIN,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ansible>=10,<12 # GPLv3
|
||||
ansible>=12,<14 # GPLv3
|
||||
ansible-lint<26 # MIT
|
||||
bandit>=1.1.0 # Apache-2.0
|
||||
bashate>=0.5.1 # Apache-2.0
|
||||
|
|
|
|||
5
releasenotes/notes/ansible-2.20-5dde80ced4385201.yaml
Normal file
5
releasenotes/notes/ansible-2.20-5dde80ced4385201.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
upgrade:
|
||||
- |
|
||||
Minimum supported Ansible version is now ``12`` (ansible-core 2.19)
|
||||
and maximum supported is ``13`` (ansible-core 2.20).
|
||||
|
|
@ -11,7 +11,7 @@ hvac>=0.10.1 # Apache-2.0
|
|||
Jinja2>=3 # BSD License (3 clause)
|
||||
|
||||
# Ansible and ansible's json_query
|
||||
ansible-core>=2.18,!=2.19.0,<2.20; python_version >= '3.11' # GPLv3
|
||||
ansible-core>=2.19,!=2.19.0,<2.21 # GPLv3
|
||||
jmespath>=0.9.3 # MIT
|
||||
|
||||
# ini parsing
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ hvac>=0.10.1 # Apache-2.0
|
|||
Jinja2>=3 # BSD License (3 clause)
|
||||
|
||||
# Ansible and ansible's json_query
|
||||
ansible-core>=2.18,!=2.19.0,<2.20; python_version >= '3.11' # GPLv3
|
||||
ansible-core>=2.19,!=2.19.0,<2.21 # GPLv3
|
||||
jmespath>=0.9.3 # MIT
|
||||
|
||||
# ini parsing
|
||||
|
|
|
|||
|
|
@ -51,9 +51,9 @@
|
|||
ansible_core_version_constraint: >-
|
||||
{{ ansible_core_version_slurp if is_slurp else ansible_core_version_min if is_upgrade
|
||||
or ansible_facts.distribution != "Ubuntu" else ansible_core_version_max }}
|
||||
ansible_core_version_slurp: "==2.17.*"
|
||||
ansible_core_version_max: "==2.19.*"
|
||||
ansible_core_version_min: "==2.18.*"
|
||||
ansible_core_version_slurp: "==2.18.*"
|
||||
ansible_core_version_max: "==2.20.*"
|
||||
ansible_core_version_min: "==2.19.*"
|
||||
# NOTE(mgoddard): Test the use of interface names with dashes.
|
||||
api_interface_name: "vxlan-0"
|
||||
api_network_prefix: "192.0.2."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue