Do not restart matrix-bot-maubot.service on every playbook run

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
This commit is contained in:
Slavi Pantaleev 2022-07-20 12:40:30 +03:00
parent b20cfc5015
commit d1649ff67b

View File

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