From 4cb73e39b01bba66eb856c7c4b321b397b88b659 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Sat, 12 Dec 2020 05:51:19 -0700 Subject: [PATCH] fix ansible lint --- .github/workflows/ansible-lint.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index 95864af..9663246 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -22,8 +22,11 @@ jobs: echo '[defaults]' > ansible.cfg echo 'collections_paths = ./collections' >> ansible.cfg - - name: Install requirements - run: ansible-galaxy install -r ansible/playbooks/requirements.yml + - name: Install role requirements + run: ansible-galaxy role install -r ansible/playbooks/requirements.yml + + - name: Install collection requirements + run: ansible-galaxy collection install -r ansible/playbooks/requirements.yml - name: Ansible Lint uses: ansible/ansible-lint-action@master