revert unneeded changes

This commit is contained in:
Michael Collins 2021-09-04 15:08:07 +08:00
parent 7724247152
commit 8339103594

View File

@ -1,13 +1,7 @@
- name: Check if matrix_vars.yml file exists
stat:
path: "/var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/matrix_vars.yml"
register: matrix_vars_file
- name: Rename synapse presence variable - name: Rename synapse presence variable
delegate_to: 127.0.0.1 delegate_to: 127.0.0.1
replace: replace:
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'
when: matrix_vars_file.stat.exists