File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,18 @@ jobs:
22
22
runs-on : ubuntu-latest
23
23
steps :
24
24
- uses : actions/checkout@v3
25
+ - uses : actions/setup-python@03bb6152f4f691b9d64579a1bd791904a083c452
26
+ - name : Install ansible-lint
27
+ run : |
28
+ sudo apt-get update
29
+ sudo apt-get purge ansible
30
+ sudo apt-get install python3-setuptools
31
+ # This pinned ansible version should match teuthology's
32
+ # requirements.txt.
33
+ # And we choose an ansible-lint version to be compatible with this
34
+ # Ansible version.
35
+ pip3 install ansible-core==2.17.7 ansible-lint --user
25
36
- name : Run ansible-lint
26
- uses : ansible/ansible-lint@v25.7.0
27
- # with:
28
- # args: ""
29
- # setup_python: "true"
30
- # working_directory: ""
31
- # requirements_file: ""
37
+ run : |
38
+ export PATH=$PATH:$HOME/.local/bin
39
+ ansible-lint -v roles/*
You can’t perform that action at this time.
0 commit comments