mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-12-26 01:32:22 +03:00
Fix corner-cases found through testing (aka ansible is nuts)
This commit is contained in:
@@ -12,8 +12,9 @@
|
||||
path: "{{ item.root + '/' + item.path }}"
|
||||
state: absent
|
||||
when:
|
||||
- matrix_synapse_workers_enabled|bool
|
||||
- item.state == 'link'
|
||||
- item.path is match('matrix-synapse-worker@*.service')
|
||||
- item.path is match('matrix-synapse-worker@.*\\.service')
|
||||
with_filetree:
|
||||
- "{{ matrix_systemd_path }}/matrix-synapse.service.wants"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user