backupuser

This commit is contained in:
Torma Kristóf 2022-04-16 20:55:19 +02:00
parent 7e71ede2e5
commit 35503d6cbd
2 changed files with 15 additions and 0 deletions

View File

@ -6,4 +6,5 @@
- common
- internalsmtp
- backupscript
- backuphost
...

View File

@ -0,0 +1,14 @@
---
- name: "Add backup user"
ansible.builtin.user:
name: backup
comment: Backup user
shell: /bin/bash
- name: "Dsiable service user"
ansible.builtin.user:
name: service-user
state: present
password_lock: true
shell: "/sbin/nologin"
...