2025-11-08 20:55:40 +00:00
|
|
|
---
|
2025-12-01 15:08:20 +00:00
|
|
|
- name: Podman CDR Link | Deploy and update CDR Link instances
|
2025-11-08 20:55:40 +00:00
|
|
|
hosts:
|
|
|
|
|
- cdr_link
|
|
|
|
|
roles:
|
|
|
|
|
- role: sr2c.core.baseline
|
2025-12-22 11:12:45 +00:00
|
|
|
vars:
|
|
|
|
|
baseline_epel_packages_allowed:
|
|
|
|
|
- node-exporter
|
2025-11-08 20:55:40 +00:00
|
|
|
tags: bootstrap
|
|
|
|
|
- role: sr2c.apps.podman_link
|
|
|
|
|
tags: link
|
2025-12-22 11:12:45 +00:00
|
|
|
- role: sr2c.core.node_exporter
|
|
|
|
|
tags: prometheus
|
|
|
|
|
|
|
|
|
|
- name: Podman CDR Link | Update instance list for Prometheus
|
|
|
|
|
hosts:
|
|
|
|
|
- prometheus
|
|
|
|
|
tags:
|
|
|
|
|
- prometheus
|
|
|
|
|
tasks:
|
|
|
|
|
- name: Podman CDR Link | Update instance list for Prometheus
|
|
|
|
|
ansible.builtin.template:
|
|
|
|
|
src: link_sd.yml
|
|
|
|
|
dest: "/home/{{ podman_prometheus_podman_rootless_user }}/file-configs/link.yml"
|
|
|
|
|
owner: "{{ podman_prometheus_podman_rootless_user }}"
|
|
|
|
|
group: "{{ podman_prometheus_podman_rootless_user }}"
|
|
|
|
|
mode: "0444"
|
|
|
|
|
become: true
|
2025-12-20 17:15:24 +00:00
|
|
|
|
|
|
|
|
- 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
|