mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-11-24 14:11:26 +00:00
fix ansible lint
This commit is contained in:
parent
bbf1976a5f
commit
4cb73e39b0
7
.github/workflows/ansible-lint.yml
vendored
7
.github/workflows/ansible-lint.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user