From 98d0d47ac6db9869296d71d65aeb913022fdbc81 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..c542524 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 . ansible_collections/sr2c/apps ansible-lint shell: bash