Skip to content

Commit

Permalink
Fix failure trying to stop orphaned systemd services
Browse files Browse the repository at this point in the history
  • Loading branch information
spantaleev authored and HarHarLinks committed Feb 16, 2022
1 parent 3496d80 commit 96ddabd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
name: "{{ item.key }}"
state: stopped
with_dict: "{{ ansible_facts.services|default({})|dict2items|selectattr('key', 'match', 'matrix-synapse-worker-.+\\.service')|list|items2dict }}"
when: "item.value['status'] != 'not-found'" # see https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1461

- name: Find worker configs to be cleaned
find:
Expand Down

0 comments on commit 96ddabd

Please sign in to comment.