Fix multiple CI failures

1. Blacklist Ansible 2.9.8

Ansible 2.9.8 includes a regression on the fileglob plugin [1] that
causes the Kolla Ansible HAProxy role to fail.

This change blacklists Ansible 2.9.8 to work around the issue.

2. Use ensure-docker role instead of install-docker

The install-* roles are being deprecated and renamed to follow the
ensure-* naming convention [2].

[1] https://github.com/ansible/ansible/issues/69450
[2] http://lists.zuul-ci.org/pipermail/zuul-announce/2020-April/000071.html

Change-Id: Iab1d84e6a8c1b3dd81e53279309153687677a061
Story: 2007659
Task: 39748
This commit is contained in:
Mark Goddard 2020-05-12 13:03:10 +01:00 committed by Pierre Riteau
parent 565a0614dc
commit cd1753d85a
4 changed files with 10 additions and 3 deletions

View File

@ -82,7 +82,7 @@
# Limit the version of ansible used by kolla-ansible to avoid new
# releases from breaking tested code. Changes to this limit should be
# tested.
- ansible>=2.8,<2.10,!=2.8.9
- ansible>=2.8,<2.10,!=2.8.9,!=2.9.8
- >-
{%- if ansible_os_family == 'RedHat' and ansible_distribution_major_version | int >= 8 %}
selinux

View File

@ -1,4 +1,4 @@
---
- hosts: all
roles:
- role: install-docker
- role: ensure-docker

View File

@ -0,0 +1,7 @@
---
fixes:
- |
Blacklists Ansible 2.9.8 to avoid an `issue
<https://github.com/ansible/ansible/issues/69450>`__ with the Ansible
``fileglob`` plugin. See `story 2007659
<https://storyboard.openstack.org/#!/story/2007659>`__.

View File

@ -1,5 +1,5 @@
pbr>=2.0 # Apache-2.0
ansible>=2.8.0,<2.10.0,!=2.8.9 # GPLv3
ansible>=2.8.0,<2.10.0,!=2.8.9,!=2.9.8 # GPLv3
cliff>=3.1.0 # Apache
netaddr!=0.7.16,>=0.7.13 # BSD
PyYAML>=3.10.0 # MIT