Ändere Benutzer-Task, lege Systemnutzer an

This commit is contained in:
phil 2021-11-27 23:43:09 +01:00
parent 73589728ef
commit 7a61ba099a
2 changed files with 11 additions and 4 deletions

View file

@ -24,6 +24,6 @@ zammad_log_file: zammad.log
zammad_log_name: zammad
zammad_log_path: /var/log/zammad
zammad_repo: https://github.com/zammad/zammad.git
zammad_user: zammad
zammad_user_home: "/home/{{ zammad_user }}"
zammad_user: _zammad
zammad_user_home: /var/lib/zammad
zammad_webserver_configuration: "/etc/nginx/sites-available/{{ zammad_domain }}"

View file

@ -1,6 +1,13 @@
---
- name: "user: Systemkonto anlegen"
- name: "user | Erstelle Gruppe"
group:
name: "{{ zammad_user }}"
state: present
- name: "user | Systemkonto anlegen"
user:
name: "{{ zammad_user }}"
group: "{{ zammad_user }}"
home: "{{ zammad_user_home }}"
shell: /bin/bash
password_lock: yes
system: yes