diff --git a/ansible/pre-deploy.yml b/ansible/pre-deploy.yml index 59b511b..42eec4c 100644 --- a/ansible/pre-deploy.yml +++ b/ansible/pre-deploy.yml @@ -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 }}"