Use the submodule path, not the name of the repo

This commit is contained in:
Chris Hawk 2024-07-26 16:08:18 -07:00
parent 811901f82c
commit 12d500f044
2 changed files with 2 additions and 6 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/

View file

@ -36,12 +36,8 @@ jobs:
run: ansible-test sanity -v --color --skip validate-modules
- name: Install ansible-lint
run: pip install ansible-lint==24.7.0
- name: Debug the ansible-lint path
run: |
pwd
ls -al
- name: Run ansible-lint
run: ansible-lint --show-relpath --exclude ./roles/google-cloud-ops-agents-ansible/
run: ansible-lint
unit:
runs-on: ubuntu-latest
defaults: