Skip to content

Commit 5aca26c

Browse files
committed
use ansible-lint 4.3 for ansible 2.8 and 2.7
ansible-lint 5.0 is not compatible with Ansible older then version 2.9 fixed: FATAL: ansible-lint requires a version of Ansible package >= 2.9, but 2.8.20 was found.
1 parent c768be6 commit 5aca26c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ansible-lint.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ jobs:
4646
deploy_pgcluster.yml
4747
add_pgnode.yml
4848
add_balancer.yml
49-
override-deps: ansible==2.8.20
49+
override-deps: |
50+
ansible==2.8.20
51+
ansible-lint==4.3.7
5052
args: ""
5153

5254
- name: Lint playbook with Ansible v2.7
@@ -56,7 +58,9 @@ jobs:
5658
deploy_pgcluster.yml
5759
add_pgnode.yml
5860
add_balancer.yml
59-
override-deps: ansible==2.7.18
61+
override-deps: |
62+
ansible==2.7.18
63+
ansible-lint==4.3.7
6064
args: ""
6165

6266
...

0 commit comments

Comments
 (0)