Yining
c74b917648
add: support project-local ansible-lint ( #5015 )
...
Add support for project-local `ansible-lint` (via `uv`, `poetry`, and `pipenv`)
when using the system-wide installed one is not possible or not desirable.
2025-08-13 14:19:15 +01:00
Matt Perry
14265e464a
Add support for ansible-lint 6.0.0 ( #4189 )
...
ansible-lint 6.0.0 removed the `--parseable-severity` option. Use the
JSON output in its place.
Fixes #4188
2022-05-09 20:27:21 +09:00
Henrik Farre
056fbd08f6
Do not use tempfiles for ansible lint ( #3846 )
...
* Used %s instead of std in
* Set lint_file to 1 for ansible-lint so it does not use temp files
* Fix test for ansible-lint
2021-07-31 12:35:43 +09:00
Horacio Sanson
a6719c2d4f
Fix 3673 - Add nocolor option to ansible-lint ( #3811 )
...
Co-authored-by: Horacio Sanson <horacio@allm.inc >
2021-07-20 10:00:49 +09:00
James Cherti
af13c350d2
Add stdin ("-") to the command-line arguments of ansible-lint >=5.0.0 ( #3786 )
...
* Added an explicit stdin argument to ansible-lint >=5.0.0 (ansible_lint.vim).
This commit fixes the issue "<<NO OUTPUT RETURNED>>":
```
:ALEInfo
(finished - exit code 0) ['/bin/bash', '-c', ''ansible-lint'' --parseable-severity -x yaml < ''/tmp/vVyvn4B/7/test2.yml'']
<<<NO OUTPUT RETURNED>>>'
```
Reason: Ansible-lint ignores stdin when "-" or "/dev/stdin" is not
specified explicitly.
Tested with: ansible-lint 5.0.12 using ansible 2.11.2
* Update ansible-lint tests.
2021-07-05 21:48:32 +09:00
w0rp
f7852dbd0a
#3633 - Move linter tests into test/linter
2021-03-21 00:25:33 +00:00