Skip to content

Commit 47317cf

Browse files
committed
Fix permissions on /etc for munge service
The munge service does not start if permissions on /etc are too wide: munged: Error: Keyfile is insecure: group-writable permissions without sticky bit set on "/etc"
1 parent 190f8ca commit 47317cf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tasks/runtime.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@
105105
changed_when: false # so molecule doesn't fail
106106
become: no
107107

108+
- name: Fix permissions on /etc for Munge service
109+
ansible.builtin.file:
110+
mode: g-w
111+
path: /etc
112+
108113
- name: Ensure Munge service is running
109114
service:
110115
name: munge

0 commit comments

Comments
 (0)