From d1649ff67b93f145bbbc3766590b0b62242fa5ba Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Wed, 20 Jul 2022 12:40:30 +0300 Subject: [PATCH] Do not restart matrix-bot-maubot.service on every playbook run Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894 --- roles/matrix-bot-maubot/tasks/setup_install.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/roles/matrix-bot-maubot/tasks/setup_install.yml b/roles/matrix-bot-maubot/tasks/setup_install.yml index c136fd897..5d9965a03 100644 --- a/roles/matrix-bot-maubot/tasks/setup_install.yml +++ b/roles/matrix-bot-maubot/tasks/setup_install.yml @@ -70,8 +70,3 @@ ansible.builtin.service: daemon_reload: true when: "matrix_bot_maubot_systemd_service_result.changed|bool" - -- name: Ensure matrix-bot-maubot.service restarted, if necessary - ansible.builtin.service: - name: "matrix-bot-maubot.service" - state: restarted