Open JensTimmerman opened 1 week ago
I thought this could be fixed by changing the @v6 to @main, but that doens't seem to fix it
example of the failing pull request: https://github.com/JensTimmerman/ansible-role-vaultwarden/pull/32
ansible-lint
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.11.9/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib
WARNING Listing 4 violation(s) that are fatal
yaml[trailing-spaces]: Trailing spaces
.github/workflows/molecule.yml:1
yaml[indentation]: Wrong indentation: expected at least 3
molecule/default/verify.yml:8
name[casing]: All names should start with an uppercase letter.
tasks/version.yml:38 Task/Handler: print latest vaultwarden webvault release
syntax-check[specific]: the role 'ansible-role-vaultwarden' was not found in /home/runner/work/ansible-role-vaultwarden/ansible-role-vaultwarden/tests/roles:/home/runner/.cache/ansible-compat/d4577d/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/runner/work/ansible-role-vaultwarden/ansible-role-vaultwarden/tests
Summary
I have repository containing an ansible role. When I enable ansible-lint github action, using the documented ansible-lint file, this results in an error: the role was not found.
Issue Type
OS / ENVIRONMENT
This is run on github ci, using github workflows
STEPS TO REPRODUCE
create a github action, following the documentation here: https://ansible.readthedocs.io/projects/lint/installing/#installing-from-source-code
Desired Behavior
The ansible lint action as document should just work.
Actual Behavior