Closed diepes closed 1 year ago
Had a similar problem, but last time I checked, it was supposed to be .config/ansible-lint
but that doesn't seem to work either anymore. Probably (yet) another change in ansible-lint that I missed. ;) [Excuse my snarkyness.]
I went back to an older version of the action and pinned it — see below, and now my workflow runs.
This is how:
# .config/ansible-lint.yml
skip_list:
- experimental
- fqcn-builtins
My workflow contains this:
jobs:
ansible_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ansible-community/ansible-lint-action@v6.3.0
with:
path: "ansible/"
If you still have issues, I would suggest to test with act locally as it saves you some time waiting for actions to run.
I have this issue with @v6
and @main
both. I tried all config file locations I could think of, but I could not get ansible-lint to run in online mode. Appreciate any pointers...
Added a config file to my git-repo
.config/ansible-lint.yml
It works locally when I change the profile in the config. The GitHub action does not use the config file.
Action