Use requirements.yml for galaxy
Infrastructure / Check and run Ansbile playbooks (pull_request) Failing after 2m57s Details

This commit is contained in:
Gleb Koval 2024-01-30 17:50:13 +00:00
parent 8ab4968371
commit 202abc79e3
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
3 changed files with 5 additions and 3 deletions

View File

@ -2,5 +2,3 @@ strict: true
use_default_rules: true
skip_list:
- args[module]
exclude_paths:
- "!infra/**/*playbook.yaml"

View File

@ -29,7 +29,7 @@ jobs:
apt update
apt install -y python3-pip
pip3 install -r requirements.txt
ansible-galaxy collection install community.general community.docker infisical.vault --force
ansible-galaxy collection install -r requirements.yml --force
- name: Run ansible-lint
uses: ansible/ansible-lint@v6

4
requirements.yml Normal file
View File

@ -0,0 +1,4 @@
collections:
- name: community.general
- name: community.docker
- name: infisical.vault