Commit 9bcf6d8
committed
pre-commit: add ansible-lint support
This adds initial support for ansible-lint in pre-commit and GitHub
workflows.
Add simple wrapper script around ansible-lint. Otherwise the pattern in
pre-commit does not work.
Test with:
pre-commit run ansible-lint --all-files
Setup from:
https://ansible.readthedocs.io/projects/lint/
configuring/#pre-commit-setup
Signed-off-by: Daniel Gomez <da.gomez@samsung.com>1 parent 6668fed commit 9bcf6d8
File tree
3 files changed
+15
-0
lines changed- .github/workflows
- scripts
3 files changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
42 | 47 | | |
43 | 48 | | |
44 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments