Fix syntax once more for dict building

This commit is contained in:
Luke Murphy 2020-04-15 13:06:00 +02:00
parent cec21cb34a
commit 738f680a96
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -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