Fixes #1: Vorschlag für ein docker-compose

This commit is contained in:
Michael Wodniok
2021-08-26 20:02:01 +02:00
parent a6b4bd127b
commit 900f9ab7b9
3 changed files with 82 additions and 53 deletions

15
handlers/main.yml Normal file
View File

@ -0,0 +1,15 @@
# SPDX-FileCopyrightText: 2021 WTF Kooperative eG <https://wtf-eg.de/>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
- name: docker-compose up -d for ki
become: true
ansible.builtin.command:
cmd: docker-compose up -d
chdir: /var/docker/ki
- name: docker-compose restart for ki
become: true
ansible.builtin.command:
cmd: docker-compose restart
chdir: /var/docker/ki