From 484536b039843838a5885e7f91a01d1cfd1406e5 Mon Sep 17 00:00:00 2001 From: Aine <97398200+etkecc@users.noreply.github.com> Date: Sat, 24 Sep 2022 16:01:27 +0000 Subject: [PATCH] Do not restart postmoogle during installation Reason: during a fresh install, when there is no synapse yet, systemd unit fails to start, thus whole play fails --- roles/matrix-bot-postmoogle/tasks/setup_install.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/roles/matrix-bot-postmoogle/tasks/setup_install.yml b/roles/matrix-bot-postmoogle/tasks/setup_install.yml index d7e5dbee9..3e6e6dc66 100644 --- a/roles/matrix-bot-postmoogle/tasks/setup_install.yml +++ b/roles/matrix-bot-postmoogle/tasks/setup_install.yml @@ -91,9 +91,3 @@ ansible.builtin.service: daemon_reload: true when: "matrix_bot_postmoogle_systemd_service_result.changed | bool" - -- name: Ensure matrix-bot-postmoogle.service restarted, if necessary - ansible.builtin.service: - name: "matrix-bot-postmoogle.service" - state: restarted - when: "matrix_bot_postmoogle_systemd_service_result.changed | bool"