From 71147f19d871fc3be9004558da2121f279be76d7 Mon Sep 17 00:00:00 2001 From: irl Date: Sat, 20 Dec 2025 17:15:24 +0000 Subject: [PATCH] feat(podman_link): adds cloudns monitoring --- playbooks/link.yml | 16 ++++++++++++++++ roles/podman_link/tasks/main.yml | 11 +++++++++++ 2 files changed, 27 insertions(+) diff --git a/playbooks/link.yml b/playbooks/link.yml index c99a703..6ae7442 100644 --- a/playbooks/link.yml +++ b/playbooks/link.yml @@ -7,3 +7,19 @@ tags: bootstrap - role: sr2c.apps.podman_link tags: link + +- name: Legacy Link | Set up ClouDNS monitoring of legacy (Docker Compose) Link instances + hosts: + - legacy_link + gather_facts: false + tasks: + - name: Legacy Link | PATCH | Set up ClouDNS monitoring + sr2c.core.cloudns_monitor: + name: "CDR Link - {{ inventory_hostname[:21] }}" + host: "{{ inventory_hostname }}" + ip: "{{ inventory_hostname }}" + http_status_code: "200" + emails: "{{ cloudns_monitoring_emails }}" + auth_id: "{{ cloudns_auth_id }}" + auth_password: "{{ cloudns_auth_password }}" + delegate_to: localhost diff --git a/roles/podman_link/tasks/main.yml b/roles/podman_link/tasks/main.yml index 6c7ec57..940a73f 100644 --- a/roles/podman_link/tasks/main.yml +++ b/roles/podman_link/tasks/main.yml @@ -471,3 +471,14 @@ scope: user become: true become_user: "{{ podman_link_podman_rootless_user }}" + +- name: Podman CDR Link | PATCH | Set up ClouDNS monitoring + sr2c.core.cloudns_monitor: + name: "CDR Link - {{ inventory_hostname }}" + host: "{{ inventory_hostname }}" + ip: "{{ inventory_hostname }}" + http_status_code: "200" + emails: "{{ cloudns_monitoring_emails }}" + auth_id: "{{ cloudns_auth_id }}" + auth_password: "{{ cloudns_auth_password }}" + delegate_to: localhost