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
This commit is contained in:
Aine 2022-09-24 16:01:27 +00:00 committed by GitHub
parent 29e3bcea67
commit 484536b039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"