playbooks: add inventory otel.svc.plus

This commit is contained in:
Haitao Pan 2025-09-03 08:56:23 +08:00
parent 3355dda520
commit 102cc1df7a
2 changed files with 25 additions and 14 deletions

View File

@ -1,28 +1,38 @@
- name: setup Prometheus exporters
- name: setup otel exporters
hosts: cn-homepage.svc.plus
become: true
vars:
group: cn-homepage.svc.plus
domains:
- cn-homepage.svc.plus
- cn-artifact.svc.plus
- www.svc.plus
- artifact.svc.plus
group: web
exporters:
endpoint: https://otel.svc.plus/api/default/
roles:
- roles/vhosts/common/
- roles/vhosts/node_exporter/
- roles/vhosts/process_exporter/
- name: setup Prometheus exporters
- roles/vhosts/otel-collector/
- name: setup otel exporters
hosts: global-homepage.svc.plus
become: true
vars:
group: global-homepage.svc.plus
domains:
- global-homepage.svc.plus
- global-artifact.svc.plus
- www.svc.plus
- artifact.svc.plus
group: web
exporters:
endpoint: https://otel.svc.plus/api/default/
roles:
- roles/vhosts/common/
- roles/vhosts/node_exporter/
- roles/vhosts/process_exporter/
- roles/vhosts/otel-collector/
- name: setup otel exporters
hosts: otel.svc.plus
become: true
vars:
group: web
exporters:
endpoint: https://otel.svc.plus/api/default/
roles:
- roles/vhosts/common/
- roles/vhosts/node_exporter/
- roles/vhosts/process_exporter/
- roles/vhosts/otel-collector/
- roles/vhosts/grafana/
- roles/vhosts/openobserve/

View File

@ -1,6 +1,7 @@
[web]
cn-homepage.svc.plus ansible_host=47.120.61.35
global-homepage.svc.plus ansible_host=167.179.72.223
otel.svc.plus ansible_host=52.196.108.28 ansible_user=ubuntu
[deepflow_agents]
192.168.1.101 ansible_user=root ansible_ssh_pass=pass101