webapps/nextcloud Added var nextcloud_user_uid to enforce uid for nextcloud user

This commit is contained in:
Tom David--Broglio 2023-11-09 15:19:15 +01:00
parent 41ec5b737b
commit 009de62e28
3 changed files with 3 additions and 0 deletions

View file

@ -15,6 +15,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* Preliminary work for php83
* nagios-nrpe: add check_sentinel for monitoring Redis Sentinel
* webapps/nextcloud Added var nextcloud_user_uid to enforce uid for nextcloud user
### Changed

View file

@ -5,6 +5,7 @@ nextcloud_releases_baseurl: "https://download.nextcloud.com/server/releases/"
nextcloud_instance_name: "nextcloud"
nextcloud_user: "{{ nextcloud_instance_name }}"
nextcloud_user_uid: 3000
nextcloud_domains: []
nextcloud_home: "/home/{{ nextcloud_user }}"

View file

@ -12,6 +12,7 @@
name: "{{ nextcloud_user | mandatory }}"
group: "{{ nextcloud_user | mandatory }}"
home: "{{ nextcloud_home | mandatory }}"
uid: "{{ nextcloud_user_uid | mandatory }}"
shell: '/bin/bash'
create_home: True
state: present