]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: pin ansible-lint version
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 10 Feb 2021 06:41:43 +0000 (07:41 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 10 Feb 2021 07:21:41 +0000 (08:21 +0100)
This commit pins the ansible-lint version to 4.3.7 as ceph-ansible isn't
compatible with recent changes in 5.0.0

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 2f1d287b1cf5ada3e4a8ebb889e6c07fa72558b9)

.github/workflows/ansible-lint.yml

index 843f404684368b67f3154257faa62f7293639d87..3a5cbb2aff345f71eb07b6688a62c6d9b435a8e0 100644 (file)
@@ -14,5 +14,5 @@ jobs:
         with:
           python-version: ${{ matrix.python-version }}
           architecture: x64
-      - run: pip install -r <(grep ansible tests/requirements.txt) ansible-lint
+      - run: pip install -r <(grep ansible tests/requirements.txt) ansible-lint==4.3.7
       - run: ansible-lint -x 106,204,205,208 -v --force-color ./roles/*/ ./infrastructure-playbooks/*.yml site-container.yml.sample site-container.yml.sample
\ No newline at end of file