Skip to content

Commit 5d51124

Browse files
authored
Merge pull request #49 from mhutter/feat/ci
ci: Run Ansible syntax checks
2 parents c807930 + 2d97f48 commit 5d51124

File tree

2 files changed

+9
-20
lines changed

2 files changed

+9
-20
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,12 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v3
1616
- run: yamllint .
17+
18+
ansible-syntax:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v3
22+
- name: Prepare Ansible config for tests
23+
run: printf '[defaults]\nroles_path=../' > ansible.cfg
24+
- name: Ansible syntax check
25+
run: ansible-playbook tests/ci.yml -i tests/inventory --syntax-check

.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)