Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit af7d52b

Browse files
Add mongodb user to pbm group
1 parent 00c9893 commit af7d52b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tasks/backup/pbm_configure.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
group: "{{ mongodb_user }}"
66
state: present
77

8+
- name: "Add user {{ mongodb_user }} to group pbm"
9+
user:
10+
name: "{{ mongodb_user }}"
11+
group: pbm
12+
state: present
13+
814
- name: Ensure backup directory
915
file:
1016
path: "{{ mongodb_backup_path }}"

0 commit comments

Comments
 (0)