Adding uptime kuma config
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-10-24 00:14:43 -04:00
parent 089f875520
commit be2208b245
3 changed files with 29 additions and 1 deletions
+3
View File
@@ -69,6 +69,9 @@ pitty-v1-pico ansible_host=10.7.10.16
smtp1 ansible_host=smtp1.int.metaunix.net
smtp2 ansible_host=smtp2.int.metaunix.net
[uptime_kuma]
pi5b1g ansible_host=10.7.20.69
[web_servers]
www3 ansible_host=www3.int.metaunix.net
www4 ansible_host=www4.int.metaunix.net
+3 -1
View File
@@ -1,7 +1,9 @@
---
- name: Install and configure Docker
hosts: ci_servers
hosts:
- ci_servers
- uptime_kuma
become: true
roles:
+23
View File
@@ -0,0 +1,23 @@
---
- name: Deploy Uptime Kuma 2
hosts: uptime_kuma
become: true
tasks:
- name: Ensure named Docker volume exists
community.docker.docker_volume:
name: uptime-kuma
state: present
- name: Run Uptime Kuma container
community.docker.docker_container:
name: uptime-kuma
image: louislam/uptime-kuma:2
state: started
restart_policy: unless-stopped
published_ports:
- "3001:3001"
volumes:
- uptime-kuma:/app/data
pull: true