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