feat(podman_link): adds cloudns monitoring
Some checks failed
Ansible Lint Check / lint (push) Failing after 43s

This commit is contained in:
Iain Learmonth 2025-12-20 17:15:24 +00:00
parent 512248e94d
commit 71147f19d8
2 changed files with 27 additions and 0 deletions

View file

@ -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

View file

@ -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