Choose right user
This commit is contained in:
parent
e38c34ee6a
commit
7b2d4f8154
@ -80,8 +80,8 @@
|
||||
|
||||
- name: Store gitea git user uid/guid
|
||||
set_fact:
|
||||
gitea_user_uid: "{{ getent_passwd['gitea'][1] }}"
|
||||
gitea_user_guid: "{{ getent_passwd['gitea'][2] }}"
|
||||
git_user_uid: "{{ getent_passwd['git'][1] }}"
|
||||
git_user_guid: "{{ getent_passwd['git'][2] }}"
|
||||
|
||||
- name: Configure the dokku app environment
|
||||
dokku_config:
|
||||
@ -111,6 +111,6 @@
|
||||
SECRET_KEY: "{{ secret_key}}"
|
||||
SSH_DOMAIN: "{{ ssh_domain }}"
|
||||
STARTUP_TIMEOUT: "{{ startup_timeout }}"
|
||||
USER_GID: "{{ gitea_user_guid }}"
|
||||
USER_UID: "{{ gitea_user_uid }}"
|
||||
USER_GID: "{{ git_user_guid }}"
|
||||
USER_UID: "{{ git_user_uid }}"
|
||||
WHITELIST_URIS: "{{ whitelist_uris }}"
|
||||
|
Reference in New Issue
Block a user