diff --git a/deploy.d/plays/predeploy.yml b/deploy.d/plays/predeploy.yml index 6fb3ce2..1929f20 100644 --- a/deploy.d/plays/predeploy.yml +++ b/deploy.d/plays/predeploy.yml @@ -20,13 +20,16 @@ key: git split: ":" -- name: Store gitea git user uid/guid in config.env +- name: Prepare git user information dictionary set_fact: git_user_info: { "USER_GID": "{{ getent_passwd['git'][1] }}", "USER_UID": "{{ getent_passwd['git'][2] }}", } + +- name: Store gitea git user uid/guid in config.env dictionary + set_fact: config: "{{ config | update_env(git_user_info) }}" - name: Output config for debugging purposes