From 738f680a96e8375ca9f52771082a34135dc7cf8e Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 15 Apr 2020 13:06:00 +0200 Subject: [PATCH] Fix syntax once more for dict building --- deploy.d/plays/predeploy.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/deploy.d/plays/predeploy.yml b/deploy.d/plays/predeploy.yml index f9c4f54..554aad5 100644 --- a/deploy.d/plays/predeploy.yml +++ b/deploy.d/plays/predeploy.yml @@ -23,10 +23,11 @@ - name: Store gitea git user uid/guid in config.env set_fact: - git_user_info: "{{ - 'USER_GID': getent_passwd['git'][1], - 'USER_UID': getent_passwd['git'][2] - }}" + git_user_info: + { + "USER_GID": "{{ getent_passwd['git'][1] }}", + "USER_UID": "{{ getent_passwd['git'][2] }}", + } config: "{{ config | update_env(git_user_info) }}" - name: Output config for debugging purposes