Skip to content

Commit 59c85f8

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 59c85f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tasks/runtime.yml

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

108+
- name: Fix permissions on /etc for Munge service
109+
mode: g-w
110+
path: /etc
111+
108112
- name: Ensure Munge service is running
109113
service:
110114
name: munge

0 commit comments

Comments
 (0)