From 6e56f3a52c95541d62ec5ec7ab31ac3242710901 Mon Sep 17 00:00:00 2001 From: hitchhooker Date: Sun, 21 Jan 2024 03:27:11 +0700 Subject: [PATCH] fix zabbix values --- bkk06 | 2 +- host_vars/bkk01.yaml | 4 ++-- host_vars/bkk02.yaml | 4 ++-- host_vars/bkk03.yaml | 18 +++++++++--------- host_vars/bkk04.yaml | 26 +++++++++++++------------- host_vars/bkk06.yaml | 30 +++++++++++++++--------------- host_vars/pso06.yaml | 28 ++++++++++++++++++++++++++++ 7 files changed, 70 insertions(+), 42 deletions(-) create mode 100644 host_vars/pso06.yaml diff --git a/bkk06 b/bkk06 index efffd84..d53a134 100644 --- a/bkk06 +++ b/bkk06 @@ -21,7 +21,7 @@ ksm26 dot26 ; wnd16 wnd26 -; pso06 +pso06 ; pso16 pso26 diff --git a/host_vars/bkk01.yaml b/host_vars/bkk01.yaml index 7b92857..a8e333c 100644 --- a/host_vars/bkk01.yaml +++ b/host_vars/bkk01.yaml @@ -42,7 +42,7 @@ lxc_nodes: - from_port: "{{ hostvars['dot01']['ansible_port'] }}" to_host: "{{ hostvars['dot01']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['dot01']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['dot01']['default_p2p_port'] }}" @@ -80,7 +80,7 @@ lxc_nodes: - from_port: "{{ hostvars['ksm01']['ansible_port'] }}" to_host: "{{ hostvars['ksm01']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['ksm01']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['ksm01']['default_p2p_port'] }}" diff --git a/host_vars/bkk02.yaml b/host_vars/bkk02.yaml index 0fbb16b..8efd8a0 100644 --- a/host_vars/bkk02.yaml +++ b/host_vars/bkk02.yaml @@ -42,7 +42,7 @@ lxc_nodes: - from_port: "{{ hostvars['dot02']['ansible_port'] }}" to_host: "{{ hostvars['dot02']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['dot02']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['dot02']['default_p2p_port'] }}" @@ -80,7 +80,7 @@ lxc_nodes: - from_port: "{{ hostvars['ksm02']['ansible_port'] }}" to_host: "{{ hostvars['ksm02']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['ksm02']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['ksm02']['default_p2p_port'] }}" diff --git a/host_vars/bkk03.yaml b/host_vars/bkk03.yaml index 05a46f6..324e5f2 100644 --- a/host_vars/bkk03.yaml +++ b/host_vars/bkk03.yaml @@ -47,7 +47,7 @@ lxc_nodes: - from_port: "{{ hostvars['ibp']['ansible_port'] }}" to_host: "{{ hostvars['ibp']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['ibp']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - host: "dot23" @@ -73,7 +73,7 @@ lxc_nodes: - from_port: "{{ hostvars['dot23']['ansible_port'] }}" to_host: "{{ hostvars['dot23']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['dot23']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['dot23']['default_p2p_port'] }}" @@ -111,7 +111,7 @@ lxc_nodes: - from_port: "{{ hostvars['ksm23']['ansible_port'] }}" to_host: "{{ hostvars['ksm23']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['ksm23']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['ksm23']['default_p2p_port'] }}" @@ -149,7 +149,7 @@ lxc_nodes: - from_port: "{{ hostvars['wnd23']['ansible_port'] }}" to_host: "{{ hostvars['wnd23']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['wnd23']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['wnd23']['default_p2p_port'] }}" @@ -187,7 +187,7 @@ lxc_nodes: - from_port: "{{ hostvars['pbr13']['ansible_port'] }}" to_host: "{{ hostvars['pbr13']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['pbr13']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['pbr13']['default_p2p_port'] }}" @@ -231,7 +231,7 @@ lxc_nodes: - from_port: "{{ hostvars['kbr13']['ansible_port'] }}" to_host: "{{ hostvars['kbr13']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['kbr13']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['kbr13']['default_p2p_port'] }}" @@ -275,7 +275,7 @@ lxc_nodes: - from_port: "{{ hostvars['wbr13']['ansible_port'] }}" to_host: "{{ hostvars['wbr13']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['wbr13']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['wbr13']['default_p2p_port'] }}" @@ -319,7 +319,7 @@ lxc_nodes: - from_port: "{{ hostvars['pch13']['ansible_port'] }}" to_host: "{{ hostvars['pch13']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['pch13']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['pch13']['default_p2p_port'] }}" @@ -363,7 +363,7 @@ lxc_nodes: - from_port: "{{ hostvars['wch13']['ansible_port'] }}" to_host: "{{ hostvars['wch13']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['wch13']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['wch13']['default_p2p_port'] }}" diff --git a/host_vars/bkk04.yaml b/host_vars/bkk04.yaml index 5cb600c..627555c 100644 --- a/host_vars/bkk04.yaml +++ b/host_vars/bkk04.yaml @@ -70,7 +70,7 @@ lxc_nodes: - from_port: "8448" to_host: "{{ hostvars['matrix']['container_ip'] }}:8448" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['matrix']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - host: "dot14" @@ -96,7 +96,7 @@ lxc_nodes: - from_port: "{{ hostvars['dot14']['ansible_port'] }}" to_host: "{{ hostvars['dot14']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['dot14']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['dot14']['default_p2p_port'] }}" @@ -140,7 +140,7 @@ lxc_nodes: - from_port: "{{ hostvars['dot24']['ansible_port'] }}" to_host: "{{ hostvars['dot24']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['dot24']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['dot24']['default_p2p_port'] }}" @@ -178,7 +178,7 @@ lxc_nodes: - from_port: "{{ hostvars['ksm04']['ansible_port'] }}" to_host: "{{ hostvars['ksm04']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['ksm04']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['ksm04']['default_p2p_port'] }}" @@ -216,7 +216,7 @@ lxc_nodes: - from_port: "{{ hostvars['ksm14']['ansible_port'] }}" to_host: "{{ hostvars['ksm14']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['ksm14']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['ksm14']['default_p2p_port'] }}" @@ -260,7 +260,7 @@ lxc_nodes: - from_port: "{{ hostvars['ksm24']['ansible_port'] }}" to_host: "{{ hostvars['ksm24']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['ksm24']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['ksm24']['default_p2p_port'] }}" @@ -298,7 +298,7 @@ lxc_nodes: - from_port: "{{ hostvars['wnd14']['ansible_port'] }}" to_host: "{{ hostvars['wnd14']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['wnd14']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['wnd14']['default_p2p_port'] }}" @@ -342,7 +342,7 @@ lxc_nodes: - from_port: "{{ hostvars['wnd24']['ansible_port'] }}" to_host: "{{ hostvars['wnd24']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['wnd24']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['wnd24']['default_p2p_port'] }}" @@ -380,7 +380,7 @@ lxc_nodes: - from_port: "{{ hostvars['mint14']['ansible_port'] }}" to_host: "{{ hostvars['mint14']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['mint14']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['mint14']['default_p2p_port'] }}" @@ -424,7 +424,7 @@ lxc_nodes: - from_port: "{{ hostvars['mine14']['ansible_port'] }}" to_host: "{{ hostvars['mine14']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['mine14']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['mine14']['default_p2p_port'] }}" @@ -468,7 +468,7 @@ lxc_nodes: - from_port: "{{ hostvars['wmint14']['ansible_port'] }}" to_host: "{{ hostvars['wmint14']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['wmint14']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['wmint14']['default_p2p_port'] }}" @@ -512,7 +512,7 @@ lxc_nodes: - from_port: "{{ hostvars['wmint14']['ansible_port'] }}" to_host: "{{ hostvars['wmint14']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['wmint14']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['wmint14']['default_p2p_port'] }}" @@ -556,7 +556,7 @@ lxc_nodes: - from_port: "{{ hostvars['enc14']['ansible_port'] }}" to_host: "{{ hostvars['enc14']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['enc14']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['enc14']['default_p2p_port'] }}" diff --git a/host_vars/bkk06.yaml b/host_vars/bkk06.yaml index 45f679a..837ecda 100644 --- a/host_vars/bkk06.yaml +++ b/host_vars/bkk06.yaml @@ -44,7 +44,7 @@ lxc_nodes: # - from_port: "{{ hostvars['dot16']['ansible_port'] }}" # to_host: "{{ hostvars['dot16']['container_ip'] }}:22" # protocol: "tcp" - # - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + # - from_port: "{{ hostvars['dot16']['zabbix_ext_port'] }}" # to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" # protocol: "tcp" # - from_port: "{{ hostvars['dot16']['default_p2p_port'] }}" @@ -82,7 +82,7 @@ lxc_nodes: - from_port: "{{ hostvars['dot26']['ansible_port'] }}" to_host: "{{ hostvars['dot26']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['dot26']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['dot26']['default_p2p_port'] }}" @@ -120,7 +120,7 @@ lxc_nodes: - from_port: "{{ hostvars['ksm26']['ansible_port'] }}" to_host: "{{ hostvars['ksm26']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['ksm26']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['ksm26']['default_p2p_port'] }}" @@ -158,7 +158,7 @@ lxc_nodes: - from_port: "{{ hostvars['wnd26']['ansible_port'] }}" to_host: "{{ hostvars['wnd26']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['wnd26']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['wnd26']['default_p2p_port'] }}" @@ -234,7 +234,7 @@ lxc_nodes: # - from_port: "{{ hostvars['pso16']['ansible_port'] }}" # to_host: "{{ hostvars['pso16']['container_ip'] }}:22" # protocol: "tcp" - # - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + # - from_port: "{{ hostvars['pso16']['zabbix_ext_port'] }}" # to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" # protocol: "tcp" # - from_port: "{{ hostvars['pso16']['default_p2p_port'] }}" @@ -278,7 +278,7 @@ lxc_nodes: - from_port: "{{ hostvars['pso26']['ansible_port'] }}" to_host: "{{ hostvars['pso26']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['pso26']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - from_port: "{{ hostvars['pso26']['default_p2p_port'] }}" @@ -317,7 +317,7 @@ lxc_nodes: # - from_port: "{{ hostvars['enc26']['ansible_port'] }}" # to_host: "{{ hostvars['enc26']['container_ip'] }}:22" # protocol: "tcp" - # - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + # - from_port: "{{ hostvars['enc26']['zabbix_ext_port'] }}" # to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" # protocol: "tcp" # - from_port: "{{ hostvars['enc26']['default_p2p_port'] }}" @@ -355,7 +355,7 @@ lxc_nodes: # - from_port: "{{ hostvars['mint26']['ansible_port'] }}" # to_host: "{{ hostvars['mint26']['container_ip'] }}:22" # protocol: "tcp" - # - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + # - from_port: "{{ hostvars['mint26']['zabbix_ext_port'] }}" # to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" # protocol: "tcp" # - from_port: "{{ hostvars['mint26']['default_p2p_port'] }}" @@ -399,7 +399,7 @@ lxc_nodes: # - from_port: "{{ hostvars['mine26']['ansible_port'] }}" # to_host: "{{ hostvars['mine26']['container_ip'] }}:22" # protocol: "tcp" - # - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + # - from_port: "{{ hostvars['mine26']['zabbix_ext_port'] }}" # to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" # protocol: "tcp" # - from_port: "{{ hostvars['mine26']['default_p2p_port'] }}" @@ -443,7 +443,7 @@ lxc_nodes: # - from_port: "{{ hostvars['wmint26']['ansible_port'] }}" # to_host: "{{ hostvars['wmint26']['container_ip'] }}:22" # protocol: "tcp" - # - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + # - from_port: "{{ hostvars['wmint26']['zabbix_ext_port'] }}" # to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" # protocol: "tcp" # - from_port: "{{ hostvars['wmint26']['default_p2p_port'] }}" @@ -487,7 +487,7 @@ lxc_nodes: # - from_port: "{{ hostvars['pbr26']['ansible_port'] }}" # to_host: "{{ hostvars['pbr26']['container_ip'] }}:22" # protocol: "tcp" - # - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + # - from_port: "{{ hostvars['pbr26']['zabbix_ext_port'] }}" # to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" # protocol: "tcp" # - from_port: "{{ hostvars['pbr26']['default_p2p_port'] }}" @@ -531,7 +531,7 @@ lxc_nodes: # - from_port: "{{ hostvars['kbr26']['ansible_port'] }}" # to_host: "{{ hostvars['kbr26']['container_ip'] }}:22" # protocol: "tcp" - # - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + # - from_port: "{{ hostvars['kbr26']['zabbix_ext_port'] }}" # to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" # protocol: "tcp" # - from_port: "{{ hostvars['kbr26']['default_p2p_port'] }}" @@ -575,7 +575,7 @@ lxc_nodes: # - from_port: "{{ hostvars['wbr26']['ansible_port'] }}" # to_host: "{{ hostvars['wbr26']['container_ip'] }}:22" # protocol: "tcp" - # - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + # - from_port: "{{ hostvars['wbr26']['zabbix_ext_port'] }}" # to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" # protocol: "tcp" # - from_port: "{{ hostvars['wbr26']['default_p2p_port'] }}" @@ -619,7 +619,7 @@ lxc_nodes: # - from_port: "{{ hostvars['pch26']['ansible_port'] }}" # to_host: "{{ hostvars['pch26']['container_ip'] }}:22" # protocol: "tcp" - # - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + # - from_port: "{{ hostvars['pch26']['zabbix_ext_port'] }}" # to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" # protocol: "tcp" # - from_port: "{{ hostvars['pch26']['default_p2p_port'] }}" @@ -663,7 +663,7 @@ lxc_nodes: # - from_port: "{{ hostvars['wch26']['ansible_port'] }}" # to_host: "{{ hostvars['wch26']['container_ip'] }}:22" # protocol: "tcp" - # - from_port: "{{ hostvars['monitor']['zabbix_ext_port'] }}" + # - from_port: "{{ hostvars['wch26']['zabbix_ext_port'] }}" # to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" # protocol: "tcp" # - from_port: "{{ hostvars['wch26']['default_p2p_port'] }}" diff --git a/host_vars/pso06.yaml b/host_vars/pso06.yaml new file mode 100644 index 0000000..2a289ee --- /dev/null +++ b/host_vars/pso06.yaml @@ -0,0 +1,28 @@ +--- +ansible_host: "27.131.160.106" +container_ip: "192.168.76.146" +ansible_port: "2146" +host_name: "pso06.rotko.net" +host_timezone: "Asia/Bangkok" +netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/24,bridge={{ default_nat_device }}"}' +role: "polkadot" +pinned_service: True + +# Variables + +default_telemetry_name: "Rotko Networks - {{ host_name.split('.')[0] }} {{ default_node_type | capitalize }}" +default_network: "paseo" +default_chain_spec: "{{ default_base_path }}/paseo.raw.json" +default_chain_spec_dl_url: "https://raw.githubusercontent.com/paseo-network/runtimes/main/chain-specs/paseo.raw.json" +default_node_type: "validator" +default_pruning: 1000 +default_database: paritydb +default_syncmode: warp +default_p2p_port: 33146 +default_p2p_port_ws: 34146 +default_p2p_port_wss: 35146 +default_rpc_port: 9146 +default_secure_rpc_port: 42146 +default_prom_port: 7146 +zabbix_ext_port: 10146 +...