Try to not bork the existing config

This commit is contained in:
Luke Murphy 2020-04-15 12:34:33 +02:00
parent 9c93096c9c
commit 87771c6168
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -23,9 +23,9 @@
- name: Store gitea git user uid/guid in config.env - name: Store gitea git user uid/guid in config.env
set_fact: set_fact:
config: "{{ config: "{{
config.env | config |
default({}) | default({}) |
combine({ combine({'env':
'USER_GID': getent_passwd['git'][1], 'USER_GID': getent_passwd['git'][1],
'USER_UID': getent_passwd['git'][2], 'USER_UID': getent_passwd['git'][2],
}) })