ソースを参照

Fix failure trying to stop orphaned systemd services

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1461
pull/1471/head
Slavi Pantaleev 4年前
コミット
4625b34acc
1個のファイルの変更1行の追加0行の削除
  1. +1
    -0
      roles/matrix-synapse/tasks/synapse/workers/setup_uninstall.yml

+ 1
- 0
roles/matrix-synapse/tasks/synapse/workers/setup_uninstall.yml ファイルの表示

@@ -8,6 +8,7 @@
name: "{{ item.key }}" name: "{{ item.key }}"
state: stopped state: stopped
with_dict: "{{ ansible_facts.services|default({})|dict2items|selectattr('key', 'match', 'matrix-synapse-worker-.+\\.service')|list|items2dict }}" 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 - name: Find worker configs to be cleaned
find: find:


読み込み中…
キャンセル
保存