Use new filter
This commit is contained in:
parent
da57a0d9d4
commit
a336bb9432
@ -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 }}"
|
||||
|
||||
|
Reference in New Issue
Block a user