Skip to content

Commit c4f80c0

Browse files
committed
CI: enable Ansible lint
1 parent 40f412a commit c4f80c0

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ on:
1414
workflow_dispatch:
1515

1616
jobs:
17+
lint:
18+
runs-on: ubuntu-24.04
19+
steps:
20+
- name: Check out the repository
21+
uses: actions/checkout@v4
22+
- name: Run ansible-lint
23+
uses: ansible/ansible-lint@v25
24+
with:
25+
args: "-c ansible-lint.yml"
26+
1727
encoding:
1828
runs-on: ubuntu-24.04
1929
steps:

ansible-lint.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SPDX-FileCopyrightText: 2025 Friedrich von Never <[email protected]>
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
exclude_paths:
6+
- .github/ # no Ansible plays in there
7+
- xmpp2/default.yml # just a list of other files

0 commit comments

Comments
 (0)