Skip to content

Commit b5f858d

Browse files
committed
task: run ansible in syntax check mode
Part of #1631 [skip ci]
1 parent f516f42 commit b5f858d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/provision-by-ansible.yml

+4
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ jobs:
3232
# The command pip3 install --user ansible==2.10.17 doesn't work as we have an old version
3333
# See https://docs.ansible.com/ansible/2.10/installation_guide/intro_installation.html#installing-devel-from-github-with-pip
3434
run: python3 -m pip install --user https://github.com/ansible/ansible/archive/refs/tags/v2.10.17.tar.gz
35+
36+
- name: Run ansible in syntax check mode
37+
run: ansible-playbook provisioning/prod.yml -i provisioning/prod.inventory --syntax-check
38+
working-directory: infra/vagrant

0 commit comments

Comments
 (0)