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

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
development
Slavi Pantaleev 2 years ago
parent b20cfc5015
commit d1649ff67b

@ -70,8 +70,3 @@
ansible.builtin.service: ansible.builtin.service:
daemon_reload: true daemon_reload: true
when: "matrix_bot_maubot_systemd_service_result.changed|bool" 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

Loading…
Cancel
Save