Skip to content

Commit

Permalink
Fix failure trying to stop orphaned systemd services
Browse files Browse the repository at this point in the history
Fixes #1461
  • Loading branch information
spantaleev committed Dec 17, 2021
1 parent 067bea2 commit 4625b34
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 4625b34

Please sign in to comment.