Compare commits
No commits in common. "58a7af28209c2accc157c8e759a5fa9dca3ccf15" and "71147f19d871fc3be9004558da2121f279be76d7" have entirely different histories.
58a7af2820
...
71147f19d8
7 changed files with 1 additions and 70 deletions
|
|
@ -4,29 +4,9 @@
|
||||||
- cdr_link
|
- cdr_link
|
||||||
roles:
|
roles:
|
||||||
- role: sr2c.core.baseline
|
- role: sr2c.core.baseline
|
||||||
vars:
|
|
||||||
baseline_epel_packages_allowed:
|
|
||||||
- node-exporter
|
|
||||||
tags: bootstrap
|
tags: bootstrap
|
||||||
- role: sr2c.apps.podman_link
|
- role: sr2c.apps.podman_link
|
||||||
tags: 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
|
- name: Legacy Link | Set up ClouDNS monitoring of legacy (Docker Compose) Link instances
|
||||||
hosts:
|
hosts:
|
||||||
|
|
|
||||||
|
|
@ -4,26 +4,6 @@
|
||||||
- seafile
|
- seafile
|
||||||
roles:
|
roles:
|
||||||
- role: sr2c.core.baseline
|
- role: sr2c.core.baseline
|
||||||
vars:
|
|
||||||
baseline_epel_packages_allowed:
|
|
||||||
- node-exporter
|
|
||||||
tags: bootstrap
|
tags: bootstrap
|
||||||
- role: sr2c.apps.podman_seafile
|
- role: sr2c.apps.podman_seafile
|
||||||
tags: seafile
|
tags: seafile
|
||||||
- role: sr2c.core.node_exporter
|
|
||||||
tags: prometheus
|
|
||||||
|
|
||||||
- name: Podman Seafile | Update instance list for Seafile
|
|
||||||
hosts:
|
|
||||||
- prometheus
|
|
||||||
tags:
|
|
||||||
- prometheus
|
|
||||||
tasks:
|
|
||||||
- name: Podman Seafile | Update instance list for Seafile
|
|
||||||
ansible.builtin.template:
|
|
||||||
src: seafile_sd.yml
|
|
||||||
dest: "/home/{{ podman_prometheus_podman_rootless_user }}/file-configs/seafile.yml"
|
|
||||||
owner: "{{ podman_prometheus_podman_rootless_user }}"
|
|
||||||
group: "{{ podman_prometheus_podman_rootless_user }}"
|
|
||||||
mode: "0444"
|
|
||||||
become: true
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
---
|
|
||||||
- targets:
|
|
||||||
{% for host in groups['cdr_link'] %}
|
|
||||||
- "{{ host }}:9100"
|
|
||||||
{% endfor %}
|
|
||||||
labels:
|
|
||||||
job: node
|
|
||||||
app: link
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
---
|
|
||||||
- targets:
|
|
||||||
{% for host in groups['seafile'] %}
|
|
||||||
- "{{ host }}:9100"
|
|
||||||
{% endfor %}
|
|
||||||
labels:
|
|
||||||
job: node
|
|
||||||
app: seafile
|
|
||||||
|
|
@ -148,7 +148,6 @@
|
||||||
line: "local\tall\tall\tscram-sha-256"
|
line: "local\tall\tall\tscram-sha-256"
|
||||||
state: present
|
state: present
|
||||||
create: false
|
create: false
|
||||||
failed_when: false # TODO: only run when file already exists (#13)
|
|
||||||
become: true
|
become: true
|
||||||
with_items:
|
with_items:
|
||||||
- postgresql
|
- postgresql
|
||||||
|
|
@ -164,7 +163,6 @@
|
||||||
line: "local\treplication\tall\tscram-sha-256"
|
line: "local\treplication\tall\tscram-sha-256"
|
||||||
state: present
|
state: present
|
||||||
create: false
|
create: false
|
||||||
failed_when: false # TODO: only run when file already exists (#13)
|
|
||||||
become: true
|
become: true
|
||||||
with_items:
|
with_items:
|
||||||
- postgresql
|
- postgresql
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Requires=zammad-storage.target
|
Requires=zammad-storage.target
|
||||||
After=zammad-storage.target
|
After=zammad-storage.target
|
||||||
Wants=zammad-init.service zammad-scheduler.service zammad-reindex.service
|
Wants=zammad-init.service zammad-reindex.service
|
||||||
PartOf=zammad-nginx.service
|
PartOf=zammad-nginx.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
|
|
|
||||||
|
|
@ -120,14 +120,3 @@
|
||||||
become: true
|
become: true
|
||||||
notify:
|
notify:
|
||||||
- Restart Seafile
|
- 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
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue