Skip to content

Commit

Permalink
Try passing a full path to the ansible-lint config file
Browse files Browse the repository at this point in the history
  • Loading branch information
SirGitsalot committed Jul 26, 2024
1 parent c630ef9 commit c9b7cf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -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/
2 changes: 1 addition & 1 deletion .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c9b7cf5

Please sign in to comment.