Skip to content

Commit bc5e86c

Browse files
committed
(#39) CI: enable Ansible lint
1 parent f8fb4f9 commit bc5e86c

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-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

requirements.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# SPDX-FileCopyrightText: 2025 Friedrich von Never <[email protected]>
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
---
6+
collections:
7+
- name: ansible.posix
8+
version: 1.5.4

0 commit comments

Comments
 (0)