replace module only if file exists

This commit is contained in:
Michael Collins 2021-08-19 18:01:26 +08:00
parent 9ac5ad148a
commit 7203d4ec21

View File

@ -5,4 +5,5 @@
path: "/var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/matrix_vars.yml"
regexp: 'matrix_synapse_use_presence'
replace: 'matrix_synapse_presence_enabled'
args:
creates: "/var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/matrix_vars.yml"