# SPDX-FileCopyrightText: 2021 WTF Kooperative eG # # SPDX-License-Identifier: AGPL-3.0-or-later --- - name: Be sure the ki config directory exists become: true ansible.builtin.file: path: /var/docker/ki state: directory owner: root group: root mode: "0755" - name: Be sure the ki files are in place become: true ansible.builtin.template: src: "{{ item }}.j2" dest: "/var/docker/ki/{{ item }}" owner: root group: root mode: "0655" with_items: - config.js - docker-compose.yml - name: Be sure the ki services are running become: true community.docker.docker_compose_v2: project_src: /var/docker/ki pull: always