From 87771c616830d7af160834f3585fdf4f2f172a57 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 15 Apr 2020 12:34:33 +0200 Subject: [PATCH] Try to not bork the existing config --- deploy.d/plays/predeploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.d/plays/predeploy.yml b/deploy.d/plays/predeploy.yml index 98824f9..4df7361 100644 --- a/deploy.d/plays/predeploy.yml +++ b/deploy.d/plays/predeploy.yml @@ -23,9 +23,9 @@ - name: Store gitea git user uid/guid in config.env set_fact: config: "{{ - config.env | + config | default({}) | - combine({ + combine({'env': 'USER_GID': getent_passwd['git'][1], 'USER_UID': getent_passwd['git'][2], })