Compare commits
2 Commits
2aa297e901
...
9689da7d11
Author | SHA1 | Date |
---|---|---|
Gleb Koval | 9689da7d11 | |
Gleb Koval | e1375aeb72 |
|
@ -31,11 +31,13 @@ jobs:
|
|||
pip3 install -r requirements.txt
|
||||
ansible-galaxy collection install community.general community.docker infisical.vault --force
|
||||
|
||||
- name: Ansible lint
|
||||
run: |
|
||||
ansible-lint infra/**/*playbook.yaml
|
||||
|
||||
- name: Check playbooks
|
||||
run: |
|
||||
for file in $(find . -wholename "*/infra/*playbook.yaml" -type f); do
|
||||
ansible-playbook --inventory ./inventory --syntax-check "$file"
|
||||
done
|
||||
ansible-playbook --inventory ./inventory --syntax-check infra/**/*playbook.yaml
|
||||
|
||||
- name: Get changed playbooks
|
||||
id: files
|
||||
|
|
|
@ -39,4 +39,4 @@
|
|||
fstype: ext4
|
||||
opts: rw,errors=remount-ro,x-systemd.growfs
|
||||
state: mounted
|
||||
become: true
|
||||
become: true
|
||||
|
|
Loading…
Reference in New Issue