mirror of https://github.com/ceph/ceph-ansible.git
tests: pin ruamel.yaml version
0.17.0 which was released today (03/26/2021) breaks ansible-lint execution with py2.7. From https://pypi.org/project/ruamel.yaml we can read: > The 0.16.13 release was the last that will tested to be working on Python 2.7. Let's enforce the version on 0.16.13 when running with py2.7 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/6392/head
parent
ba6fa5c959
commit
a65968a9d1
|
@ -16,6 +16,6 @@ jobs:
|
|||
architecture: x64
|
||||
- run: pip install -r <(grep ansible tests/requirements.txt) ansible-lint==4.3.7
|
||||
if: matrix.python-version == '3.6'
|
||||
- run: pip install -r <(grep ansible tests/requirements.txt) ansible-lint
|
||||
- run: pip install -r <(grep ansible tests/requirements.txt) ansible-lint ruamel.yaml==0.16.13
|
||||
if: matrix.python-version == '2.7'
|
||||
- run: ansible-lint -x 106,204,205,208 -v --force-color ./roles/*/ ./infrastructure-playbooks/*.yml site-container.yml.sample site-container.yml.sample
|
Loading…
Reference in New Issue