fix: force images pull and change default ports

This commit is contained in:
Clément Désiles
2026-02-14 21:02:51 +01:00
parent 23c7da84bb
commit 6393ff6ed3
7 changed files with 35 additions and 4 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ uptime_kuma_version: "2"
uptime_kuma_data_dir: "{{ podman_projects_dir }}/uptime-kuma/data"
# Network configuration
uptime_kuma_port: 3001
uptime_kuma_port: 3300
# Container image
uptime_kuma_image: louislam/uptime-kuma
+7
View File
@@ -15,6 +15,13 @@
group: "{{ ansible_user }}"
mode: "0755"
- name: Pull Uptime Kuma container image
ansible.builtin.command: "podman pull {{ uptime_kuma_image }}:{{ uptime_kuma_version }}"
changed_when: pull_result.stdout is search('Writing manifest')
register: pull_result
become: false
become_user: "{{ ansible_user }}"
- name: Deploy Kubernetes YAML for uptime-kuma
ansible.builtin.template:
src: uptime-kuma.yaml.j2