ansible-role-nextcloud/tasks/user.yml

15 lines
404 B
YAML

---
- name: "User | Lege Nextcloud-System-Nutzer an | {{ item.name }}"
ansible.builtin.user:
name: "{{ item.user }}"
create_home: false
password_lock: true
groups: redis
shell: /bin/false
state: present
- name: "User | Füge www-data zur Nextcloud-Nutzer-Gruppe hinzu | {{ item.name }}"
ansible.builtin.user:
name: www-data
groups: "{{ item.user }}"
append: true