infrastructure/roles/matrix_webhooks/handlers/main.yml
saibotk 70341479b1
!chore: Migrate to docker_compose_v2
This now uses the new docker compose plugin.
Because we used docker-compose v1.24.1 to this point due to centos needing to install C toolchains to build never versions, the newest Docker v25 breaks compatibility and we need to use something newer.
2024-02-22 00:37:48 +01:00

31 lines
995 B
YAML

---
# Handlers file for the matrix-webhooks role
# Infrastructure
# Ansible instructions to deploy the infrastructure
# Copyright (C) 2021 Saibotk
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
- name: Restart matrix webhooks
community.docker.docker_compose_v2:
services:
- appservice-webhooks
state: restarted
project_src: "{{ matrix_webhooks_install_location }}"
tags:
- docker
- matrix
- webhooks
become: true