infra/ansible/roles/opensearch/defaults/main.yml
Graham McIntire 39bedb08d1
renumber infrastructure from 10.0.15.0/24 to 10.0.16.0/22 (hosts in 10.0.19.x)
Proxmox: node1-3 → 10.0.19.101-103
Talos cp1-3 → 10.0.19.1-3, workers → 10.0.19.4-6
K8s endpoint → VIP https://10.0.19.10:6443
Ansible: prom → 10.0.19.31, db → 10.0.19.30
Talos: added VIP block to controlplane.yaml base config
Promtail: Loki URL → 10.0.19.31
Docs: all references updated, talos4 removed
2026-07-18 08:28:47 -05:00

38 lines
1.2 KiB
YAML

---
# OpenSearch version and architecture
opensearch_version: "2.19.6"
opensearch_arch: x64 # x64 or aarch64
opensearch_user: opensearch
opensearch_group: opensearch
opensearch_install_dir: /opt/opensearch
opensearch_config_dir: /opt/opensearch/config
opensearch_data_dir: /var/lib/opensearch
opensearch_log_dir: /var/log/opensearch
# JVM heap size — tuned for 8 GB host (leaves room for OS cache and other services)
opensearch_heap_min: "2g"
opensearch_heap_max: "2g"
# Network
opensearch_http_port: 9200
opensearch_transport_port: 9300
# Cluster (single-node by default for logs.vntx.net)
opensearch_cluster_name: logs-vntx
opensearch_node_name: "{{ ansible_facts['hostname'] | default('logs') }}"
opensearch_discovery_type: single-node
# Plugins to install (empty by default)
opensearch_plugins: []
# Sysctl: vm.max_map_count required by OpenSearch
opensearch_vm_max_map_count: 262144
# --- OpenSearch Dashboards ---
opensearch_dashboards_version: "{{ opensearch_version }}"
opensearch_dashboards_install_dir: /opt/opensearch-dashboards
opensearch_dashboards_config_dir: /etc/opensearch-dashboards
opensearch_dashboards_port: 5601
opensearch_dashboards_opensearch_url: "http://127.0.0.1:{{ opensearch_http_port }}"