Fix CI: use python3 -m pip and explicit ansible-galaxy collection install
Ansible Lint / lint (push) Failing after 13s
Ansible Lint / lint (push) Failing after 13s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -16,9 +16,11 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install ansible-lint
|
- name: Install ansible-lint and collections
|
||||||
run: pip install ansible-lint --break-system-packages --quiet
|
run: |
|
||||||
|
python3 -m pip install ansible-lint --break-system-packages --quiet
|
||||||
|
~/.local/bin/ansible-galaxy collection install community.general community.postgresql
|
||||||
|
|
||||||
- name: Run ansible-lint
|
- name: Run ansible-lint
|
||||||
working-directory: ansible
|
working-directory: ansible
|
||||||
run: ansible-lint --profile=min playbooks/site.yml
|
run: ~/.local/bin/ansible-lint --profile=min playbooks/site.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user