Skip to content

Commit 42df1d4

Browse files
committed
move from action
1 parent 19a0ce2 commit 42df1d4

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

roles/.ansible-lint renamed to .github/workflows/ansible-lint-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
warn_list:
3+
skip_list:
44
- command-instead-of-module
55
- command-instead-of-shell
66
- line-length

.github/workflows/ansible-lint.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v2
12+
- uses: actions/setup-python@v3
13+
- run: |
14+
pip3 install ansible-lint
15+
ansible-lint -p roles/ -c .github/workflows/ansible-lint-config
1216
13-
- name: Lint Ansible Playbook
14-
uses: ansible/ansible-lint-action@main
15-
with:
16-
path: "roles/"
17-
1817
# Static: use Ansible Community Edition 4.8.0, with lowest compatible Ansible Core 2.11.6 and use Ansible-lint 5.2.1

0 commit comments

Comments
 (0)