fix ansible-lint errors

This commit is contained in:
Sergey Malyuk
2025-12-17 17:47:17 +03:00
parent 8d365a82df
commit 987ba2279d
8 changed files with 45 additions and 44 deletions

View File

@@ -1,7 +1,7 @@
---
- name: "Ensure project directory exists"
ansible.builtin.file:
path: "{{ kuma_project_dir }}"
path: "{{ uptime_kuma_project_dir }}"
state: directory
owner: root
group: root
@@ -10,7 +10,7 @@
- name: "Push the Compose file"
ansible.builtin.template:
src: "docker-compose.yml.j2"
dest: "{{ kuma_project_dir }}/docker-compose.yml"
dest: "{{ uptime_kuma_project_dir }}/docker-compose.yml"
owner: root
group: root
mode: "0660"
@@ -18,10 +18,10 @@
- name: "Deploy uptime-kuma via Docker Compose"
community.docker.docker_compose_v2:
state: present
project_src: "{{ kuma_project_dir }}"
project_src: "{{ uptime_kuma_project_dir }}"
- name: "Install Python dependencies"
ansible.builtin.pip:
name: "uptime-kuma-api"
version: "{{ kuma_api_version }}"
version: "{{ uptime_kuma_api_version }}"
break_system_packages: true