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