diff --git a/tasks/main.yml b/tasks/main.yml index 745c14e..58462d8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -3,18 +3,18 @@ # SPDX-License-Identifier: AGPL-3.0-or-later --- -- name: be sure the ki config directory exists +- name: Be sure the ki config directory exists become: true - file: + ansible.builtin.file: path: /var/docker/ki state: directory owner: root group: root mode: "0755" -- name: be sure the ki files are in place +- name: Be sure the ki files are in place become: true - template: + ansible.builtin.template: src: "{{ item }}.j2" dest: "/var/docker/ki/{{ item }}" owner: root @@ -24,7 +24,7 @@ - config.js - docker-compose.yml -- name: be sure the ki services are running +- name: Be sure the ki services are running become: true community.docker.docker_compose: project_src: /var/docker/ki