Try passing a full path to the ansible-lint config file

This commit is contained in:
Chris Hawk 2024-07-26 15:42:19 -07:00
parent c630ef996a
commit c9b7cf5a21
2 changed files with 2 additions and 2 deletions

View file

@ -7,4 +7,4 @@ use_default_rules: true
verbosity: 1
exclude_paths:
# Ignore submodule https://github.com/GoogleCloudPlatform/google-cloud-ops-agents-ansible
- ./roles/google-cloud-ops-agents-ansible/
- roles/google-cloud-ops-agents-ansible/

View file

@ -37,7 +37,7 @@ jobs:
- name: Install ansible-lint
run: pip install ansible-lint==24.7.0
- name: Run ansible-lint
run: ansible-lint
run: ansible-lint -c ${GITHUB_WORKSPACE}/ansible_collections/google/cloud/.ansible-lint
unit:
runs-on: ubuntu-latest
defaults: