From dfe85d24a05f1022984a855828e66edb1ad785ce Mon Sep 17 00:00:00 2001 From: Chris Hawk Date: Fri, 26 Jul 2024 16:18:55 -0700 Subject: [PATCH] ansible-lint truly hates not running in the workspace root directory --- .github/workflows/ansible-test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ansible-test.yml b/.github/workflows/ansible-test.yml index 8d57604..2bef646 100644 --- a/.github/workflows/ansible-test.yml +++ b/.github/workflows/ansible-test.yml @@ -36,8 +36,12 @@ 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 + run: ansible-lint --exclude ./roles/google_cloud_ops_agents/ unit: runs-on: ubuntu-latest defaults: