Skip to content

Commit 346c0ee

Browse files
authored
Set selinux type on data directory
1 parent 0dd9e51 commit 346c0ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasks/configure.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
path: "{{ mongodb_storage_dbpath }}"
4242
state: directory
4343
owner: "{{ mongodb_user }}"
44+
setype: 'mongod_var_lib_t'
4445
recurse: yes
4546

4647
- name: Configure mongodb

0 commit comments

Comments
 (0)