ci: install core collection before lint
Some checks failed
Ansible Lint Check / lint (push) Failing after 1m1s
Some checks failed
Ansible Lint Check / lint (push) Failing after 1m1s
This commit is contained in:
parent
6c1867b76a
commit
2b727fda03
1 changed files with 8 additions and 0 deletions
|
|
@ -32,8 +32,16 @@ jobs:
|
||||||
pip install ansible ansible-dev-tools
|
pip install ansible ansible-dev-tools
|
||||||
shell: bash
|
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
|
- name: Run ansible-lint
|
||||||
run: |
|
run: |
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
|
mkdir -p ansible_collections/sr2c
|
||||||
|
ln -s /workspace/sr2/ansible-collection-apps ansible_collections/sr2c/apps
|
||||||
ansible-lint
|
ansible-lint
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue