ansible/roles/stacks/composes/vars/monitoring-exporters.yml

33 lines
1.4 KiB
YAML

# 2023-09-26
# Subvars: monitoring-exporters
---
stack_name: "monitoring-exporters"
stack_enable: true
stack_switch_conf: true
stack_switch_envs: true
stack_switch_datas: false
stack_switch_secrets: true
stack_switch_templates: true
mariadb_template_mariadb_cnf: "{{ local_folder_templates }}/mariadb/{{ stack_folder_templates }}/mariadb_cnf.j2"
mariadb_container_mariadb_cnf: "{{ folder_remote_conf }}/exporters/mariadb/conf/mariadb.cnf"
mysql_template_mysql_cnf: "{{ local_folder_templates }}/mysql/{{ stack_folder_templates }}/mysql_cnf.j2"
mysql_container_mysql_cnf: "{{ folder_remote_conf }}/exporters/mysql/conf/mysql.cnf"
proxmox_template_proxmox_yml: "{{ local_folder_templates }}/proxmox/{{ stack_folder_templates }}/proxmox_yml.j2"
proxmox_container_proxmox_yml: "{{ folder_remote_conf }}/exporters/proxmox/conf/proxmox.yml"
snmp_template_snmp_yml: "{{ local_folder_templates }}/snmp/{{ stack_folder_templates }}/snmp_yml.j2"
snmp_container_snmp_yml: "{{ folder_remote_conf }}/exporters/snmp/conf/snmp.yml"
stack_templates:
- { local: "{{ mariadb_template_mariadb_cnf }}", remote: "{{ mariadb_container_mariadb_cnf }}" }
- { local: "{{ mysql_template_mysql_cnf }}", remote: "{{ mysql_container_mysql_cnf }}" }
- { local: "{{ proxmox_template_proxmox_yml }}", remote: "{{ proxmox_container_proxmox_yml }}" }
- { local: "{{ snmp_template_snmp_yml }}", remote: "{{ snmp_container_snmp_yml }}" }