feat(podman_link): adds cloudns monitoring
Some checks failed
Ansible Lint Check / lint (push) Failing after 43s
Some checks failed
Ansible Lint Check / lint (push) Failing after 43s
This commit is contained in:
parent
512248e94d
commit
71147f19d8
2 changed files with 27 additions and 0 deletions
|
|
@ -7,3 +7,19 @@
|
||||||
tags: bootstrap
|
tags: bootstrap
|
||||||
- role: sr2c.apps.podman_link
|
- role: sr2c.apps.podman_link
|
||||||
tags: 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
|
||||||
|
|
|
||||||
|
|
@ -471,3 +471,14 @@
|
||||||
scope: user
|
scope: user
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{ podman_link_podman_rootless_user }}"
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue