Ändere Benutzer-Task, lege Systemnutzer an
This commit is contained in:
parent
73589728ef
commit
7a61ba099a
2 changed files with 11 additions and 4 deletions
|
@ -24,6 +24,6 @@ zammad_log_file: zammad.log
|
||||||
zammad_log_name: zammad
|
zammad_log_name: zammad
|
||||||
zammad_log_path: /var/log/zammad
|
zammad_log_path: /var/log/zammad
|
||||||
zammad_repo: https://github.com/zammad/zammad.git
|
zammad_repo: https://github.com/zammad/zammad.git
|
||||||
zammad_user: zammad
|
zammad_user: _zammad
|
||||||
zammad_user_home: "/home/{{ zammad_user }}"
|
zammad_user_home: /var/lib/zammad
|
||||||
zammad_webserver_configuration: "/etc/nginx/sites-available/{{ zammad_domain }}"
|
zammad_webserver_configuration: "/etc/nginx/sites-available/{{ zammad_domain }}"
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
---
|
- name: "user | Erstelle Gruppe"
|
||||||
- name: "user: Systemkonto anlegen"
|
group:
|
||||||
|
name: "{{ zammad_user }}"
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: "user | Systemkonto anlegen"
|
||||||
user:
|
user:
|
||||||
name: "{{ zammad_user }}"
|
name: "{{ zammad_user }}"
|
||||||
|
group: "{{ zammad_user }}"
|
||||||
|
home: "{{ zammad_user_home }}"
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
password_lock: yes
|
password_lock: yes
|
||||||
|
system: yes
|
||||||
|
|
Loading…
Reference in a new issue