Use new filter

This commit is contained in:
Luke Murphy 2020-04-15 12:58:37 +02:00
parent da57a0d9d4
commit a336bb9432
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -23,15 +23,13 @@
- name: Store gitea git user uid/guid in config.env
set_fact:
config: "{{
config |
default({}) |
combine({'env': {
config | update_env({
'USER_GID': getent_passwd['git'][1],
'USER_UID': getent_passwd['git'][2],
}})
})
}}"
- name: DEBUG -> Show me the config setup again
- name: Output config for debugging purposes
debug:
msg: "{{ config }}"