Skip to content

Commit 7812677

Browse files
committed
Update ansible linter
1 parent dbc2b6f commit 7812677

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.ansible-lint

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ skip_list:
66
warn_list:
77
- ignore-errors
88
- experimental
9+
10+
use_default_rules: true
11+
rulesdir:
12+
- ./lintrules/ansible/

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Python 3.x
1515
uses: actions/setup-python@v6
1616
with:
17-
python-version: 3.x
17+
python-version: 3.13
1818
- name: Install dependencies
1919
run: |
2020
pip3 install ansible ansible-lint yamllint
@@ -24,7 +24,7 @@ jobs:
2424
sudo chmod 777 /var/log/vmtools/
2525
- name: Run ansible-lint
2626
run: |
27-
ansible-lint -R -r lintrules/ansible
27+
ansible-lint
2828
- name: Run actions yamllint
2929
run: |
3030
yamllint .github/workflows/*yml

0 commit comments

Comments
 (0)