webapps/nextcloud: Use var nextcloud_user for unix group instead of instance_name to prevent mixup

This commit is contained in:
Ludovic Poujol 2022-09-01 12:02:23 +02:00
parent ee67ebca8b
commit a03a338af9

View file

@ -1,7 +1,7 @@
--- ---
- name: Create Nextcloud group - name: Create Nextcloud group
group: group:
name: "{{ nextcloud_instance_name | mandatory }}" name: "{{ nextcloud_user | mandatory }}"
state: present state: present
tags: tags:
- nextcloud - nextcloud
@ -9,7 +9,7 @@
- name: Create Nextcloud user - name: Create Nextcloud user
user: user:
name: "{{ nextcloud_user | mandatory }}" name: "{{ nextcloud_user | mandatory }}"
group: "{{ nextcloud_user }}" group: "{{ nextcloud_user | mandatory }}"
home: "{{ nextcloud_home | mandatory }}" home: "{{ nextcloud_home | mandatory }}"
shell: '/bin/bash' shell: '/bin/bash'
create_home: True create_home: True