2022-07-26 16:44:42 +02:00
|
|
|
---
|
2023-05-21 23:01:31 +02:00
|
|
|
- name: "User | Lege Nextcloud-System-Nutzer an | {{ item.name }}"
|
|
|
|
ansible.builtin.user:
|
|
|
|
name: "{{ item.user }}"
|
2022-07-26 16:44:42 +02:00
|
|
|
create_home: false
|
|
|
|
password_lock: true
|
|
|
|
groups: redis
|
|
|
|
shell: /bin/false
|
|
|
|
state: present
|
|
|
|
|
2023-05-21 23:01:31 +02:00
|
|
|
- name: "User | Füge www-data zur Nextcloud-Nutzer-Gruppe hinzu | {{ item.name }}"
|
|
|
|
ansible.builtin.user:
|
2022-07-26 16:44:42 +02:00
|
|
|
name: www-data
|
2023-05-21 23:01:31 +02:00
|
|
|
groups: "{{ item.user }}"
|
2022-07-26 16:44:42 +02:00
|
|
|
append: true
|