[NOK] Add uptime-kuma playbook/role but problem with galaxy collection

This commit is contained in:
2026-03-03 21:18:16 +00:00
parent 98fed16975
commit c7c567c9b3
5 changed files with 34 additions and 9 deletions

View File

@@ -1 +1,14 @@
---
---
- name: Charger les secrets du Vault
include_vars:
file: vault.yml # Il cherchera par défaut dans le dossier vars/ du rôle
- name: Login by token and create a monitor
lucasheld.uptime_kuma.monitor:
api_url: "{{ api_url }}"
api_token: "{{ uptime_kuma_api_key }}"
name: "{{ host_name }}"
type: ping
url: "{{ url }}"
state: present
...