From 202abc79e318c1474bf562e232afe4d375669659 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Tue, 30 Jan 2024 17:50:13 +0000 Subject: [PATCH] Use requirements.yml for galaxy --- .ansible-lint | 2 -- .github/workflows/infra.yaml | 2 +- requirements.yml | 4 ++++ 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 requirements.yml diff --git a/.ansible-lint b/.ansible-lint index 6d94bb9..4ac37ef 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -2,5 +2,3 @@ strict: true use_default_rules: true skip_list: - args[module] -exclude_paths: - - "!infra/**/*playbook.yaml" diff --git a/.github/workflows/infra.yaml b/.github/workflows/infra.yaml index 13e1420..c32bc04 100644 --- a/.github/workflows/infra.yaml +++ b/.github/workflows/infra.yaml @@ -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 diff --git a/requirements.yml b/requirements.yml new file mode 100644 index 0000000..8d9ddf2 --- /dev/null +++ b/requirements.yml @@ -0,0 +1,4 @@ +collections: + - name: community.general + - name: community.docker + - name: infisical.vault