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
|
- 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 }}"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user