Try to define a custom ANSIBLE_ROLES_PATH

.. to tell the Github Action where to install roles via ansible-galaxy.

Ref: https://docs.ansible.com/ansible/latest/galaxy/user_guide.html#setting-where-to-install-roles
This commit is contained in:
Slavi Pantaleev 2024-11-26 18:20:09 +02:00 committed by GitHub
parent 8df99b3e16
commit fbaa116dfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,5 +22,7 @@ jobs:
uses: actions/checkout@v4
- name: Run ansible-lint
uses: ansible/ansible-lint@v24.10.0
env:
ANSIBLE_ROLES_PATH: ./roles:roles/galaxy
with:
requirements_file: requirements.yml