ansible-role-nextcloud/tasks/user.yml

16 lines
404 B
YAML
Raw Normal View History

---
- 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