Skip to content

Commit 25744ff

Browse files
committed
fix: declare and install ansible.posix collection dependency
tasks/configure.yml uses ansible.posix.sysctl but the collection was never declared or installed, breaking syntax-check CI and any role consumer without the collection already present. fixes #59
1 parent 16fb635 commit 25744ff

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/default.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ jobs:
6464
- name: Check Ansible version
6565
run: ansible --version
6666

67+
- name: Install required collections
68+
run: ansible-galaxy collection install ansible.posix
69+
6770
- name: Create ansible.cfg with correct roles_path
6871
run: printf '[defaults]\nroles_path=../' >ansible.cfg
6972

meta/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ galaxy_info:
1919
- networking
2020

2121
dependencies: []
22+
23+
collections:
24+
- ansible.posix

0 commit comments

Comments
 (0)