Merge pull request 'Fix linting issues' (!7) from Brain/ki-ansible:patch-4 into main

Reviewed-on: kompetenzinventar/ki-ansible#7
This commit is contained in:
Brain 2023-12-04 22:10:05 +01:00
commit 75f008d062

View File

@ -3,18 +3,18 @@
# SPDX-License-Identifier: AGPL-3.0-or-later # 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 become: true
file: ansible.builtin.file:
path: /var/docker/ki path: /var/docker/ki
state: directory state: directory
owner: root owner: root
group: root group: root
mode: "0755" mode: "0755"
- name: be sure the ki files are in place - name: Be sure the ki files are in place
become: true become: true
template: ansible.builtin.template:
src: "{{ item }}.j2" src: "{{ item }}.j2"
dest: "/var/docker/ki/{{ item }}" dest: "/var/docker/ki/{{ item }}"
owner: root owner: root
@ -24,7 +24,7 @@
- config.js - config.js
- docker-compose.yml - docker-compose.yml
- name: be sure the ki services are running - name: Be sure the ki services are running
become: true become: true
community.docker.docker_compose: community.docker.docker_compose:
project_src: /var/docker/ki project_src: /var/docker/ki