backup_server: Move data to new UID/GID

This commit is contained in:
Timo Makinen 2024-04-07 14:09:00 +00:00
parent 1a3e1dbeeb
commit 8752c36391
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@
- name: Create backup group
ansible.builtin.group:
name: backup
gid: 1005
gid: 306
- name: Create backup user
ansible.builtin.user:
@ -17,7 +17,7 @@
group: backup
home: /var/empty
shell: /bin/sh
uid: 1005
uid: 306
- name: Create backup directory
ansible.builtin.file:

View file

@ -11,9 +11,9 @@ entry empty. If only a group is created, leave the user entry empty.
| 302 | mongod | mongod | |
| 303 | gitea | gitea | |
| 305 | prometheus | prometheus | |
| 306 | backup | backup | |
| 1001 | mirror | mirror | |
| 1002 | certbot | certbot | |
| 1003 | collab | collab | |
| 1004 | docker | docker | docker registry |
| 1005 | backup | backup | |
| 1007 | minecraft | minecraft | |