Compare commits

...

4 Commits

Author SHA1 Message Date
Suguru Hirahara
172e1bc556
Merge fbaa116dfa143c03cd6aaaca0be30d90c64d9f88 into c385b794981bf257e2171c4df4e1529ef42f921c 2024-12-01 22:14:34 +09:00
Slavi Pantaleev
fbaa116dfa
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
2024-11-26 18:20:09 +02:00
Slavi Pantaleev
8df99b3e16
Define requirements_file argument, remove useless path argument
Ref: https://ansible.readthedocs.io/projects/lint/installing/#installing-ansible-lint-as-a-github-action
2024-11-26 18:11:51 +02:00
Suguru Hirahara
45bacab8a0
Replace ansible-community/ansible-lint-action with ansible/ansible-lint
ansible-community/ansible-lint-action was deprecated on Aug 2, 2023, and it recommends to use the current Github action here: https://github.com/marketplace/actions/run-ansible-lint

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-11-27 00:25:29 +09:00

View File

@ -21,6 +21,8 @@ jobs:
- name: Check out - name: Check out
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Run ansible-lint - name: Run ansible-lint
uses: ansible-community/ansible-lint-action@v6.17.0 uses: ansible/ansible-lint@v24.10.0
env:
ANSIBLE_ROLES_PATH: ./roles:roles/galaxy
with: with:
path: roles/custom requirements_file: requirements.yml