From 2b727fda03449655e671c81351d9d0caf1f20b3f Mon Sep 17 00:00:00 2001 From: irl Date: Sun, 12 Jul 2026 15:13:33 +0100 Subject: [PATCH] ci: install core collection before lint --- .forgejo/workflows/ansible-lint.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.forgejo/workflows/ansible-lint.yml b/.forgejo/workflows/ansible-lint.yml index 77ec867..7a2759d 100644 --- a/.forgejo/workflows/ansible-lint.yml +++ b/.forgejo/workflows/ansible-lint.yml @@ -32,8 +32,16 @@ jobs: pip install ansible ansible-dev-tools shell: bash + - name: Install core collection + run: | + source venv/bin/activate + ansible-galaxy collection install git+https://guardianproject.dev/sr2/ansible-collection-core.git + shell: bash + - name: Run ansible-lint run: | source venv/bin/activate + mkdir -p ansible_collections/sr2c + ln -s /workspace/sr2/ansible-collection-apps ansible_collections/sr2c/apps ansible-lint shell: bash