diff --git a/roles/podman_seafile/tasks/main.yml b/roles/podman_seafile/tasks/main.yml index 70e7518..8bc7b1a 100644 --- a/roles/podman_seafile/tasks/main.yml +++ b/roles/podman_seafile/tasks/main.yml @@ -120,3 +120,14 @@ become: true notify: - Restart Seafile + +- name: Podman Seafile | Set up ClouDNS monitoring + sr2c.core.cloudns_monitor: + name: "Seafile - {{ inventory_hostname[:22] }}" + 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