--- - name: Podman CDR Link | Deploy and update CDR Link instances hosts: - cdr_link roles: - role: sr2c.core.baseline vars: baseline_epel_packages_allowed: - node-exporter tags: bootstrap - role: sr2c.apps.podman_link tags: link - 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 - 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