diff --git a/.ansible-lint b/.ansible-lint index 3f851df..3ec97ed 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,5 +1,5 @@ skip_list: - - '301' + - 'no-changed-when' warn_list: - experimental # all rules tagged as experimental diff --git a/.drone.yml b/.drone.yml index 58679a2..ab5b271 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,13 +7,14 @@ steps: - name: yamllint image: python:3.9-alpine commands: - - pip install yamllint==1.25.0 + - pip install "yamllint>=1.26.0,<2.0" - yamllint -c .yamllint.yml . - name: ansible-lint image: python:3.9-alpine commands: - - apk add --no-cache gcc libc-dev libffi-dev openssl-dev - - pip install ansible-lint==4.3.7 + - apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo + - pip install "ansible-lint==5.0.0" + - pip install "ansible>=2.10,<2.11" - ansible-lint ... diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index c62f35b..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,19 +0,0 @@ ---- -image: python:3.9-alpine - -stages: - - lint - -yamllint: - stage: lint - script: - - pip install yamllint==1.25.0 - - yamllint -c .yamllint.yml . - -ansible-lint: - stage: lint - script: - - apk add gcc libc-dev libffi-dev openssl-dev - - pip install ansible-lint==4.3.7 - - ansible-lint *.yml -...