mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-07 16:12:43 +00:00
replace module only if file exists
This commit is contained in:
parent
9ac5ad148a
commit
7203d4ec21
|
@ -5,4 +5,5 @@
|
||||||
path: "/var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/matrix_vars.yml"
|
path: "/var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/matrix_vars.yml"
|
||||||
regexp: 'matrix_synapse_use_presence'
|
regexp: 'matrix_synapse_use_presence'
|
||||||
replace: 'matrix_synapse_presence_enabled'
|
replace: 'matrix_synapse_presence_enabled'
|
||||||
|
args:
|
||||||
|
creates: "/var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/matrix_vars.yml"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user