Fix syntax once more for dict building
This commit is contained in:
parent
cec21cb34a
commit
738f680a96
@ -23,10 +23,11 @@
|
|||||||
|
|
||||||
- name: Store gitea git user uid/guid in config.env
|
- name: Store gitea git user uid/guid in config.env
|
||||||
set_fact:
|
set_fact:
|
||||||
git_user_info: "{{
|
git_user_info:
|
||||||
'USER_GID': getent_passwd['git'][1],
|
{
|
||||||
'USER_UID': getent_passwd['git'][2]
|
"USER_GID": "{{ getent_passwd['git'][1] }}",
|
||||||
}}"
|
"USER_UID": "{{ getent_passwd['git'][2] }}",
|
||||||
|
}
|
||||||
config: "{{ config | update_env(git_user_info) }}"
|
config: "{{ config | update_env(git_user_info) }}"
|
||||||
|
|
||||||
- name: Output config for debugging purposes
|
- name: Output config for debugging purposes
|
||||||
|
Reference in New Issue
Block a user