Choose right user

This commit is contained in:
Luke Murphy 2020-03-23 16:21:44 +01:00
parent e38c34ee6a
commit 7b2d4f8154
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -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 }}"