diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index f51e029c3..b13ecefe1 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -20,42 +20,43 @@ jobs: uses: actions/checkout@v2 - name: Lint playbook with Ansible v2.10 - uses: ansible/ansible-lint-action@master + uses: iranzo/ansible-lint-action@v4.1.1 with: targets: | deploy_pgcluster.yml add_pgnode.yml add_balancer.yml + override-deps: ansible==2.10.7 args: "-x 106,208,403" -# - name: Lint playbook with Ansible v2.9 -# uses: ansible/ansible-lint-action@master -# with: -# targets: | -# deploy_pgcluster.yml -# add_pgnode.yml -# add_balancer.yml -# override-deps: ansible==2.9.14 -# args: "-x 106,208,403" -# -# - name: Lint playbook with Ansible v2.8 -# uses: ansible/ansible-lint-action@master -# with: -# targets: | -# deploy_pgcluster.yml -# add_pgnode.yml -# add_balancer.yml -# override-deps: ansible==2.8.16 -# args: "-x 106,208,403" -# -# - name: Lint playbook with Ansible v2.7 -# uses: ansible/ansible-lint-action@master -# with: -# targets: | -# deploy_pgcluster.yml -# add_pgnode.yml -# add_balancer.yml -# override-deps: ansible==2.7.18 -# args: "-x 106,208,403" + - name: Lint playbook with Ansible v2.9 + uses: iranzo/ansible-lint-action@v4.1.1 + with: + targets: | + deploy_pgcluster.yml + add_pgnode.yml + add_balancer.yml + override-deps: ansible==2.9.22 + args: "-x 106,208,403" + + - name: Lint playbook with Ansible v2.8 + uses: iranzo/ansible-lint-action@v4.1.1 + with: + targets: | + deploy_pgcluster.yml + add_pgnode.yml + add_balancer.yml + override-deps: ansible==2.8.20 + args: "-x 106,208,403" + + - name: Lint playbook with Ansible v2.7 + uses: iranzo/ansible-lint-action@v4.1.1 + with: + targets: | + deploy_pgcluster.yml + add_pgnode.yml + add_balancer.yml + override-deps: ansible==2.7.18 + args: "-x 106,208,403" ...