From 17f1f1120a2bb9260e298fa137c6577043a1a1cf Mon Sep 17 00:00:00 2001 From: hitchhooker Date: Sat, 3 Feb 2024 10:56:16 +0700 Subject: [PATCH] update host variables --- bkk03 | 18 +- bkk04 | 30 +-- bkk06 | 26 +- host_vars/bkk03.yaml | 220 ---------------- host_vars/bkk04.yaml | 240 ++++++++--------- host_vars/bkk06.yaml | 566 +++++++++++++++++++++++++++++++++++++--- host_vars/dot14.yaml | 4 +- host_vars/enc14.yaml | 14 +- host_vars/gatus.yaml | 5 +- host_vars/gatusold.yaml | 6 - host_vars/kbr13.yaml | 6 +- host_vars/ksm14.yaml | 4 +- host_vars/mine14.yaml | 6 +- host_vars/mint14.yaml | 8 +- host_vars/pbr13.yaml | 24 +- host_vars/pch13.yaml | 8 +- host_vars/wbr13.yaml | 8 +- host_vars/wch13.yaml | 8 +- host_vars/wmint14.yaml | 8 +- host_vars/wnd14.yaml | 4 +- inventory | 11 + 21 files changed, 749 insertions(+), 475 deletions(-) delete mode 100644 host_vars/gatusold.yaml diff --git a/bkk03 b/bkk03 index 6868c1e..9e3a1c3 100644 --- a/bkk03 +++ b/bkk03 @@ -15,18 +15,18 @@ polkadot [routers] bkk00 -[cumulus] -pbr13 -kbr13 -wbr13 -pch13 -wch13 - [polkadot] dot23 -ksm23 wnd23 +[cumulus] +mint23 +wmint23 +pbr23 +wbr23 +pch23 +wch23 + [proxmox_hosts] bkk03 @@ -46,7 +46,5 @@ unmanaged [referrence_nodes] dot14 dot24 -ksm14 -ksm24 wnd14 wnd24 diff --git a/bkk04 b/bkk04 index 3194052..26155a7 100644 --- a/bkk04 +++ b/bkk04 @@ -14,30 +14,22 @@ polkadot [routers] bkk00 +[polkadot] +ksm04 +ksm24 +; pso24 + [cumulus] -mint14 -mine14 -wmint14 -; pbr24 -; pch24 +; mine24 ; kbr24 ; kch24 -; wbr24 -; wch24 +; pabr24 +; pach24 [encointer] enc14 ; enc24 -[polkadot] -ksm04 -ksm14 -ksm24 -dot14 -dot24 -wnd14 -wnd24 - [services] ansible matrix @@ -55,3 +47,9 @@ bkk04 hardware proxmox_nodes unmanaged + +[referrence_nodes] +dot14 +dot24 +wnd14 +wnd24 diff --git a/bkk06 b/bkk06 index a3573c5..85af9b7 100644 --- a/bkk06 +++ b/bkk06 @@ -15,26 +15,26 @@ polkadot bkk00 [polkadot] -; ksm16 +pso06 +dot14 +ksm14 +wnd14 +pso16 ksm26 -; dot16 dot26 -; wnd16 wnd26 -pso06 -pso16 pso26 [cumulus] ; boot -; mint14 -; mine14 -; wmint14 -; pbr13 -; kbr13 -; wbr13 -; pch13 -; wch13 +mint14 +mine14 +wmint14 +pbr13 +kbr13 +wbr13 +pch13 +wch13 ; rpc mint26 pbr26 diff --git a/host_vars/bkk03.yaml b/host_vars/bkk03.yaml index 151d283..6781456 100644 --- a/host_vars/bkk03.yaml +++ b/host_vars/bkk03.yaml @@ -169,224 +169,4 @@ lxc_nodes: - from_port: "{{ hostvars['wnd23']['default_p2p_port_ws'] }}" to_host: "{{ hostvars['wnd23']['container_ip'] }}:{{ hostvars['wnd23']['default_p2p_port_ws'] }}" protocol: "udp" - - host: "pbr13" - proxmox_config: - vmid: "543" - hostname: "{{ hostvars['pbr13']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['pbr13']['netif'] }}" - cores: 4 - memory: 8192 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:100,mp={{ hostvars["pbr13"]["default_database_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['pbr13']['default_network'] }} {{ hostvars['pbr13']['default_node_type'] }}: {{ hostvars['pbr13']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['pbr13']['ansible_port'] }}" - to_host: "{{ hostvars['pbr13']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['pbr13']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['pbr13']['default_p2p_port'] }}" - to_host: "{{ hostvars['pbr13']['container_ip'] }}:{{ hostvars['pbr13']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['pbr13']['default_p2p_port'] }}" - to_host: "{{ hostvars['pbr13']['container_ip'] }}:{{ hostvars['pbr13']['default_p2p_port'] }}" - protocol: "udp" - - from_port: "{{ hostvars['pbr13']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['pbr13']['container_ip'] }}:{{ hostvars['pbr13']['default_p2p_port_ws'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['pbr13']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['pbr13']['container_ip'] }}:{{ hostvars['pbr13']['default_p2p_port_ws'] }}" - protocol: "udp" - - from_port: "{{ hostvars['pbr13']['default_p2p_port_wss'] }}" - to_host: "{{ hostvars['pbr13']['container_ip'] }}:{{ hostvars['pbr13']['default_p2p_port_wss'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['pbr13']['default_p2p_port_wss'] }}" - to_host: "{{ hostvars['pbr13']['container_ip'] }}:{{ hostvars['pbr13']['default_p2p_port_wss'] }}" - protocol: "udp" - - host: "kbr13" - proxmox_config: - vmid: "553" - hostname: "{{ hostvars['kbr13']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['kbr13']['netif'] }}" - cores: 4 - memory: 8192 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:150,mp={{ hostvars["kbr13"]["default_database_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['kbr13']['default_network'] }} {{ hostvars['kbr13']['default_node_type'] }}: {{ hostvars['kbr13']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['kbr13']['ansible_port'] }}" - to_host: "{{ hostvars['kbr13']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['kbr13']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['kbr13']['default_p2p_port'] }}" - to_host: "{{ hostvars['kbr13']['container_ip'] }}:{{ hostvars['kbr13']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['kbr13']['default_p2p_port'] }}" - to_host: "{{ hostvars['kbr13']['container_ip'] }}:{{ hostvars['kbr13']['default_p2p_port'] }}" - protocol: "udp" - - from_port: "{{ hostvars['kbr13']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['kbr13']['container_ip'] }}:{{ hostvars['kbr13']['default_p2p_port_ws'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['kbr13']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['kbr13']['container_ip'] }}:{{ hostvars['kbr13']['default_p2p_port_ws'] }}" - protocol: "udp" - - from_port: "{{ hostvars['kbr13']['default_p2p_port_wss'] }}" - to_host: "{{ hostvars['kbr13']['container_ip'] }}:{{ hostvars['kbr13']['default_p2p_port_wss'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['kbr13']['default_p2p_port_wss'] }}" - to_host: "{{ hostvars['kbr13']['container_ip'] }}:{{ hostvars['kbr13']['default_p2p_port_wss'] }}" - protocol: "udp" - - host: "wbr13" - proxmox_config: - vmid: "563" - hostname: "{{ hostvars['wbr13']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['wbr13']['netif'] }}" - cores: 4 - memory: 8192 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:50,mp={{ hostvars["wbr13"]["default_database_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['wbr13']['default_network'] }} {{ hostvars['wbr13']['default_node_type'] }}: {{ hostvars['wbr13']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['wbr13']['ansible_port'] }}" - to_host: "{{ hostvars['wbr13']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['wbr13']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['wbr13']['default_p2p_port'] }}" - to_host: "{{ hostvars['wbr13']['container_ip'] }}:{{ hostvars['wbr13']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['wbr13']['default_p2p_port'] }}" - to_host: "{{ hostvars['wbr13']['container_ip'] }}:{{ hostvars['wbr13']['default_p2p_port'] }}" - protocol: "udp" - - from_port: "{{ hostvars['wbr13']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['wbr13']['container_ip'] }}:{{ hostvars['wbr13']['default_p2p_port_ws'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['wbr13']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['wbr13']['container_ip'] }}:{{ hostvars['wbr13']['default_p2p_port_ws'] }}" - protocol: "udp" - - from_port: "{{ hostvars['wbr13']['default_p2p_port_wss'] }}" - to_host: "{{ hostvars['wbr13']['container_ip'] }}:{{ hostvars['wbr13']['default_p2p_port_wss'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['wbr13']['default_p2p_port_wss'] }}" - to_host: "{{ hostvars['wbr13']['container_ip'] }}:{{ hostvars['wbr13']['default_p2p_port_wss'] }}" - protocol: "udp" - - host: "pch13" - proxmox_config: - vmid: "573" - hostname: "{{ hostvars['pch13']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['pch13']['netif'] }}" - cores: 4 - memory: 8192 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:100,mp={{ hostvars["pch13"]["default_database_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['pch13']['default_network'] }} {{ hostvars['pch13']['default_node_type'] }}: {{ hostvars['pch13']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['pch13']['ansible_port'] }}" - to_host: "{{ hostvars['pch13']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['pch13']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['pch13']['default_p2p_port'] }}" - to_host: "{{ hostvars['pch13']['container_ip'] }}:{{ hostvars['pch13']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['pch13']['default_p2p_port'] }}" - to_host: "{{ hostvars['pch13']['container_ip'] }}:{{ hostvars['pch13']['default_p2p_port'] }}" - protocol: "udp" - - from_port: "{{ hostvars['pch13']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['pch13']['container_ip'] }}:{{ hostvars['pch13']['default_p2p_port_ws'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['pch13']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['pch13']['container_ip'] }}:{{ hostvars['pch13']['default_p2p_port_ws'] }}" - protocol: "udp" - - from_port: "{{ hostvars['pch13']['default_p2p_port_wss'] }}" - to_host: "{{ hostvars['pch13']['container_ip'] }}:{{ hostvars['pch13']['default_p2p_port_wss'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['pch13']['default_p2p_port_wss'] }}" - to_host: "{{ hostvars['pch13']['container_ip'] }}:{{ hostvars['pch13']['default_p2p_port_wss'] }}" - protocol: "udp" - - host: "wch13" - proxmox_config: - vmid: "593" - hostname: "{{ hostvars['wch13']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['wch13']['netif'] }}" - cores: 4 - memory: 8192 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:50,mp={{ hostvars["wch13"]["default_database_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['wch13']['default_network'] }} {{ hostvars['wch13']['default_node_type'] }}: {{ hostvars['wch13']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['wch13']['ansible_port'] }}" - to_host: "{{ hostvars['wch13']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['wch13']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['wch13']['default_p2p_port'] }}" - to_host: "{{ hostvars['wch13']['container_ip'] }}:{{ hostvars['wch13']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['wch13']['default_p2p_port'] }}" - to_host: "{{ hostvars['wch13']['container_ip'] }}:{{ hostvars['wch13']['default_p2p_port'] }}" - protocol: "udp" - - from_port: "{{ hostvars['wch13']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['wch13']['container_ip'] }}:{{ hostvars['wch13']['default_p2p_port_ws'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['wch13']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['wch13']['container_ip'] }}:{{ hostvars['wch13']['default_p2p_port_ws'] }}" - protocol: "udp" - - from_port: "{{ hostvars['wch13']['default_p2p_port_wss'] }}" - to_host: "{{ hostvars['wch13']['container_ip'] }}:{{ hostvars['wch13']['default_p2p_port_wss'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['wch13']['default_p2p_port_wss'] }}" - to_host: "{{ hostvars['wch13']['container_ip'] }}:{{ hostvars['wch13']['default_p2p_port_wss'] }}" - protocol: "udp" ... diff --git a/host_vars/bkk04.yaml b/host_vars/bkk04.yaml index afff34a..459ea9f 100644 --- a/host_vars/bkk04.yaml +++ b/host_vars/bkk04.yaml @@ -78,50 +78,6 @@ lxc_nodes: - from_port: "{{ hostvars['matrix']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - - host: "dot14" - proxmox_config: - vmid: "214" - hostname: "{{ hostvars['dot14']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['dot14']['netif'] }}" - cores: 4 - memory: 16384 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:500,mp={{ hostvars["dot14"]["default_base_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['dot14']['default_network'] }} {{ hostvars['dot14']['default_node_type'] }}: {{ hostvars['dot14']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['dot14']['ansible_port'] }}" - to_host: "{{ hostvars['dot14']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['dot14']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['dot14']['default_p2p_port'] }}" - to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['dot14']['default_p2p_port'] }}" - to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port'] }}" - protocol: "udp" - - from_port: "{{ hostvars['dot14']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port_ws'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['dot14']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port_ws'] }}" - protocol: "udp" - - from_port: "{{ hostvars['dot14']['default_p2p_port_wss'] }}" - to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port_wss'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['dot14']['default_p2p_port_wss'] }}" - to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port_wss'] }}" - protocol: "udp" - host: "dot24" proxmox_config: vmid: "314" @@ -198,6 +154,126 @@ lxc_nodes: - from_port: "{{ hostvars['ksm04']['default_p2p_port_ws'] }}" to_host: "{{ hostvars['ksm04']['container_ip'] }}:{{ hostvars['ksm04']['default_p2p_port_ws'] }}" protocol: "udp" + - host: "ksm24" + proxmox_config: + vmid: "324" + hostname: "{{ hostvars['ksm24']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['ksm24']['netif'] }}" + cores: 8 + memory: 16384 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:3000,mp={{ hostvars["ksm24"]["default_base_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['ksm24']['default_network'] }} {{ hostvars['ksm24']['default_node_type'] }}: {{ hostvars['ksm24']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['ksm24']['ansible_port'] }}" + to_host: "{{ hostvars['ksm24']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['ksm24']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['ksm24']['default_p2p_port'] }}" + to_host: "{{ hostvars['ksm24']['container_ip'] }}:{{ hostvars['ksm24']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['ksm24']['default_p2p_port'] }}" + to_host: "{{ hostvars['ksm24']['container_ip'] }}:{{ hostvars['ksm24']['default_p2p_port'] }}" + protocol: "udp" + - from_port: "{{ hostvars['ksm24']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['ksm24']['container_ip'] }}:{{ hostvars['ksm24']['default_p2p_port_ws'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['ksm24']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['ksm24']['container_ip'] }}:{{ hostvars['ksm24']['default_p2p_port_ws'] }}" + protocol: "udp" + - host: "wnd24" + proxmox_config: + vmid: "334" + hostname: "{{ hostvars['wnd24']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['wnd24']['netif'] }}" + cores: 4 + memory: 16384 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:1000,mp={{ hostvars["wnd24"]["default_base_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['wnd24']['default_network'] }} {{ hostvars['wnd24']['default_node_type'] }}: {{ hostvars['wnd24']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['wnd24']['ansible_port'] }}" + to_host: "{{ hostvars['wnd24']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['wnd24']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['wnd24']['default_p2p_port'] }}" + to_host: "{{ hostvars['wnd24']['container_ip'] }}:{{ hostvars['wnd24']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wnd24']['default_p2p_port'] }}" + to_host: "{{ hostvars['wnd24']['container_ip'] }}:{{ hostvars['wnd24']['default_p2p_port'] }}" + protocol: "udp" + - from_port: "{{ hostvars['wnd24']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['wnd24']['container_ip'] }}:{{ hostvars['wnd24']['default_p2p_port_ws'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wnd24']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['wnd24']['container_ip'] }}:{{ hostvars['wnd24']['default_p2p_port_ws'] }}" + protocol: "udp" + - host: "dot14" + proxmox_config: + vmid: "214" + hostname: "{{ hostvars['dot14']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['dot14']['netif'] }}" + cores: 4 + memory: 16384 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:500,mp={{ hostvars["dot14"]["default_base_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['dot14']['default_network'] }} {{ hostvars['dot14']['default_node_type'] }}: {{ hostvars['dot14']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['dot14']['ansible_port'] }}" + to_host: "{{ hostvars['dot14']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['dot14']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['dot14']['default_p2p_port'] }}" + to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['dot14']['default_p2p_port'] }}" + to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port'] }}" + protocol: "udp" + - from_port: "{{ hostvars['dot14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port_ws'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['dot14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port_ws'] }}" + protocol: "udp" + - from_port: "{{ hostvars['dot14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port_wss'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['dot14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port_wss'] }}" + protocol: "udp" - host: "ksm14" proxmox_config: vmid: "224" @@ -242,44 +318,6 @@ lxc_nodes: - from_port: "{{ hostvars['ksm14']['default_p2p_port_wss'] }}" to_host: "{{ hostvars['ksm14']['container_ip'] }}:{{ hostvars['ksm14']['default_p2p_port_wss'] }}" protocol: "udp" - - host: "ksm24" - proxmox_config: - vmid: "324" - hostname: "{{ hostvars['ksm24']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['ksm24']['netif'] }}" - cores: 8 - memory: 16384 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:3000,mp={{ hostvars["ksm24"]["default_base_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['ksm24']['default_network'] }} {{ hostvars['ksm24']['default_node_type'] }}: {{ hostvars['ksm24']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['ksm24']['ansible_port'] }}" - to_host: "{{ hostvars['ksm24']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['ksm24']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['ksm24']['default_p2p_port'] }}" - to_host: "{{ hostvars['ksm24']['container_ip'] }}:{{ hostvars['ksm24']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['ksm24']['default_p2p_port'] }}" - to_host: "{{ hostvars['ksm24']['container_ip'] }}:{{ hostvars['ksm24']['default_p2p_port'] }}" - protocol: "udp" - - from_port: "{{ hostvars['ksm24']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['ksm24']['container_ip'] }}:{{ hostvars['ksm24']['default_p2p_port_ws'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['ksm24']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['ksm24']['container_ip'] }}:{{ hostvars['ksm24']['default_p2p_port_ws'] }}" - protocol: "udp" - host: "wnd14" proxmox_config: vmid: "234" @@ -324,44 +362,6 @@ lxc_nodes: - from_port: "{{ hostvars['wnd14']['default_p2p_port_wss'] }}" to_host: "{{ hostvars['wnd14']['container_ip'] }}:{{ hostvars['wnd14']['default_p2p_port_wss'] }}" protocol: "udp" - - host: "wnd24" - proxmox_config: - vmid: "334" - hostname: "{{ hostvars['wnd24']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['wnd24']['netif'] }}" - cores: 4 - memory: 16384 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:1000,mp={{ hostvars["wnd24"]["default_base_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['wnd24']['default_network'] }} {{ hostvars['wnd24']['default_node_type'] }}: {{ hostvars['wnd24']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['wnd24']['ansible_port'] }}" - to_host: "{{ hostvars['wnd24']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['wnd24']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['wnd24']['default_p2p_port'] }}" - to_host: "{{ hostvars['wnd24']['container_ip'] }}:{{ hostvars['wnd24']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['wnd24']['default_p2p_port'] }}" - to_host: "{{ hostvars['wnd24']['container_ip'] }}:{{ hostvars['wnd24']['default_p2p_port'] }}" - protocol: "udp" - - from_port: "{{ hostvars['wnd24']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['wnd24']['container_ip'] }}:{{ hostvars['wnd24']['default_p2p_port_ws'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['wnd24']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['wnd24']['container_ip'] }}:{{ hostvars['wnd24']['default_p2p_port_ws'] }}" - protocol: "udp" - host: "mint14" proxmox_config: vmid: "514" diff --git a/host_vars/bkk06.yaml b/host_vars/bkk06.yaml index 99f7f93..fedb778 100644 --- a/host_vars/bkk06.yaml +++ b/host_vars/bkk06.yaml @@ -26,6 +26,534 @@ port_forwards: protocol: "tcp" lxc_nodes: + - host: "dot14" + proxmox_config: + vmid: "216" + hostname: "{{ hostvars['dot14']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['dot14']['netif'] }}" + cores: 4 + memory: 16384 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:500,mp={{ hostvars["dot14"]["default_base_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['dot14']['default_network'] }} {{ hostvars['dot14']['default_node_type'] }}: {{ hostvars['dot14']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['dot14']['ansible_port'] }}" + to_host: "{{ hostvars['dot14']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['dot14']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['dot14']['default_p2p_port'] }}" + to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['dot14']['default_p2p_port'] }}" + to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port'] }}" + protocol: "udp" + - from_port: "{{ hostvars['dot14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port_ws'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['dot14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port_ws'] }}" + protocol: "udp" + - from_port: "{{ hostvars['dot14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port_wss'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['dot14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_p2p_port_wss'] }}" + protocol: "udp" + - host: "ksm14" + proxmox_config: + vmid: "226" + hostname: "{{ hostvars['ksm14']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['ksm14']['netif'] }}" + cores: 4 + memory: 16384 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:700,mp={{ hostvars["ksm14"]["default_base_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['ksm14']['default_network'] }} {{ hostvars['ksm14']['default_node_type'] }}: {{ hostvars['ksm14']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['ksm14']['ansible_port'] }}" + to_host: "{{ hostvars['ksm14']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['ksm14']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['ksm14']['default_p2p_port'] }}" + to_host: "{{ hostvars['ksm14']['container_ip'] }}:{{ hostvars['ksm14']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['ksm14']['default_p2p_port'] }}" + to_host: "{{ hostvars['ksm14']['container_ip'] }}:{{ hostvars['ksm14']['default_p2p_port'] }}" + protocol: "udp" + - from_port: "{{ hostvars['ksm14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['ksm14']['container_ip'] }}:{{ hostvars['ksm14']['default_p2p_port_ws'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['ksm14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['ksm14']['container_ip'] }}:{{ hostvars['ksm14']['default_p2p_port_ws'] }}" + protocol: "udp" + - from_port: "{{ hostvars['ksm14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['ksm14']['container_ip'] }}:{{ hostvars['ksm14']['default_p2p_port_wss'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['ksm14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['ksm14']['container_ip'] }}:{{ hostvars['ksm14']['default_p2p_port_wss'] }}" + protocol: "udp" + - host: "wnd14" + proxmox_config: + vmid: "236" + hostname: "{{ hostvars['wnd14']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['wnd14']['netif'] }}" + cores: 4 + memory: 8192 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:500,mp={{ hostvars["wnd14"]["default_database_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['wnd14']['default_network'] }} {{ hostvars['wnd14']['default_node_type'] }}: {{ hostvars['wnd14']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['wnd14']['ansible_port'] }}" + to_host: "{{ hostvars['wnd14']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['wnd14']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['wnd14']['default_p2p_port'] }}" + to_host: "{{ hostvars['wnd14']['container_ip'] }}:{{ hostvars['wnd14']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wnd14']['default_p2p_port'] }}" + to_host: "{{ hostvars['wnd14']['container_ip'] }}:{{ hostvars['wnd14']['default_p2p_port'] }}" + protocol: "udp" + - from_port: "{{ hostvars['wnd14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['wnd14']['container_ip'] }}:{{ hostvars['wnd14']['default_p2p_port_ws'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wnd14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['wnd14']['container_ip'] }}:{{ hostvars['wnd14']['default_p2p_port_ws'] }}" + protocol: "udp" + - from_port: "{{ hostvars['wnd14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['wnd14']['container_ip'] }}:{{ hostvars['wnd14']['default_p2p_port_wss'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wnd14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['wnd14']['container_ip'] }}:{{ hostvars['wnd14']['default_p2p_port_wss'] }}" + protocol: "udp" + - host: "mint14" + proxmox_config: + vmid: "516" + hostname: "{{ hostvars['mint14']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['mint14']['netif'] }}" + cores: 4 + memory: 8192 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["mint14"]["default_database_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['mint14']['default_network'] }} {{ hostvars['mint14']['default_node_type'] }}: {{ hostvars['mint14']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['mint14']['ansible_port'] }}" + to_host: "{{ hostvars['mint14']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['mint14']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['mint14']['default_p2p_port'] }}" + to_host: "{{ hostvars['mint14']['container_ip'] }}:{{ hostvars['mint14']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['mint14']['default_p2p_port'] }}" + to_host: "{{ hostvars['mint14']['container_ip'] }}:{{ hostvars['mint14']['default_p2p_port'] }}" + protocol: "udp" + - from_port: "{{ hostvars['mint14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['mint14']['container_ip'] }}:{{ hostvars['mint14']['default_p2p_port_ws'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['mint14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['mint14']['container_ip'] }}:{{ hostvars['mint14']['default_p2p_port_ws'] }}" + protocol: "udp" + - from_port: "{{ hostvars['mint14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['mint14']['container_ip'] }}:{{ hostvars['mint14']['default_p2p_port_wss'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['mint14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['mint14']['container_ip'] }}:{{ hostvars['mint14']['default_p2p_port_wss'] }}" + protocol: "udp" + - host: "mine14" + proxmox_config: + vmid: "526" + hostname: "{{ hostvars['mine14']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['mine14']['netif'] }}" + cores: 4 + memory: 8192 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["mine14"]["default_database_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['mine14']['default_network'] }} {{ hostvars['mine14']['default_node_type'] }}: {{ hostvars['mine14']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['mine14']['ansible_port'] }}" + to_host: "{{ hostvars['mine14']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['mine14']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['mine14']['default_p2p_port'] }}" + to_host: "{{ hostvars['mine14']['container_ip'] }}:{{ hostvars['mine14']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['mine14']['default_p2p_port'] }}" + to_host: "{{ hostvars['mine14']['container_ip'] }}:{{ hostvars['mine14']['default_p2p_port'] }}" + protocol: "udp" + - from_port: "{{ hostvars['mine14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['mine14']['container_ip'] }}:{{ hostvars['mine14']['default_p2p_port_ws'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['mine14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['mine14']['container_ip'] }}:{{ hostvars['mine14']['default_p2p_port_ws'] }}" + protocol: "udp" + - from_port: "{{ hostvars['mine14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['mine14']['container_ip'] }}:{{ hostvars['mine14']['default_p2p_port_wss'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['mine14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['mine14']['container_ip'] }}:{{ hostvars['mine14']['default_p2p_port_wss'] }}" + protocol: "udp" + - host: "wmint14" + proxmox_config: + vmid: "536" + hostname: "{{ hostvars['wmint14']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['wmint14']['netif'] }}" + cores: 4 + memory: 8192 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:50,mp={{ hostvars["wmint14"]["default_database_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['wmint14']['default_network'] }} {{ hostvars['wmint14']['default_node_type'] }}: {{ hostvars['wmint14']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['wmint14']['ansible_port'] }}" + to_host: "{{ hostvars['wmint14']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['wmint14']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['wmint14']['default_p2p_port'] }}" + to_host: "{{ hostvars['wmint14']['container_ip'] }}:{{ hostvars['wmint14']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wmint14']['default_p2p_port'] }}" + to_host: "{{ hostvars['wmint14']['container_ip'] }}:{{ hostvars['wmint14']['default_p2p_port'] }}" + protocol: "udp" + - from_port: "{{ hostvars['wmint14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['wmint14']['container_ip'] }}:{{ hostvars['wmint14']['default_p2p_port_ws'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wmint14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['wmint14']['container_ip'] }}:{{ hostvars['wmint14']['default_p2p_port_ws'] }}" + protocol: "udp" + - from_port: "{{ hostvars['wmint14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['wmint14']['container_ip'] }}:{{ hostvars['wmint14']['default_p2p_port_wss'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wmint14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['wmint14']['container_ip'] }}:{{ hostvars['wmint14']['default_p2p_port_wss'] }}" + protocol: "udp" + - host: "wmint14" + proxmox_config: + vmid: "536" + hostname: "{{ hostvars['wmint14']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['wmint14']['netif'] }}" + cores: 2 + memory: 8192 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:50,mp={{ hostvars["wmint14"]["default_database_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['wmint14']['default_network'] }} {{ hostvars['wmint14']['default_node_type'] }}: {{ hostvars['wmint14']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['wmint14']['ansible_port'] }}" + to_host: "{{ hostvars['wmint14']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['wmint14']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['wmint14']['default_p2p_port'] }}" + to_host: "{{ hostvars['wmint14']['container_ip'] }}:{{ hostvars['wmint14']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wmint14']['default_p2p_port'] }}" + to_host: "{{ hostvars['wmint14']['container_ip'] }}:{{ hostvars['wmint14']['default_p2p_port'] }}" + protocol: "udp" + - from_port: "{{ hostvars['wmint14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['wmint14']['container_ip'] }}:{{ hostvars['wmint14']['default_p2p_port_ws'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wmint14']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['wmint14']['container_ip'] }}:{{ hostvars['wmint14']['default_p2p_port_ws'] }}" + protocol: "udp" + - from_port: "{{ hostvars['wmint14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['wmint14']['container_ip'] }}:{{ hostvars['wmint14']['default_p2p_port_wss'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wmint14']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['wmint14']['container_ip'] }}:{{ hostvars['wmint14']['default_p2p_port_wss'] }}" + protocol: "udp" + - host: "pbr13" + proxmox_config: + vmid: "546" + hostname: "{{ hostvars['pbr13']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['pbr13']['netif'] }}" + cores: 4 + memory: 8192 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:100,mp={{ hostvars["pbr13"]["default_database_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['pbr13']['default_network'] }} {{ hostvars['pbr13']['default_node_type'] }}: {{ hostvars['pbr13']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['pbr13']['ansible_port'] }}" + to_host: "{{ hostvars['pbr13']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['pbr13']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['pbr13']['default_p2p_port'] }}" + to_host: "{{ hostvars['pbr13']['container_ip'] }}:{{ hostvars['pbr13']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['pbr13']['default_p2p_port'] }}" + to_host: "{{ hostvars['pbr13']['container_ip'] }}:{{ hostvars['pbr13']['default_p2p_port'] }}" + protocol: "udp" + - from_port: "{{ hostvars['pbr13']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['pbr13']['container_ip'] }}:{{ hostvars['pbr13']['default_p2p_port_ws'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['pbr13']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['pbr13']['container_ip'] }}:{{ hostvars['pbr13']['default_p2p_port_ws'] }}" + protocol: "udp" + - from_port: "{{ hostvars['pbr13']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['pbr13']['container_ip'] }}:{{ hostvars['pbr13']['default_p2p_port_wss'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['pbr13']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['pbr13']['container_ip'] }}:{{ hostvars['pbr13']['default_p2p_port_wss'] }}" + protocol: "udp" + - host: "kbr13" + proxmox_config: + vmid: "556" + hostname: "{{ hostvars['kbr13']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['kbr13']['netif'] }}" + cores: 4 + memory: 8192 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:150,mp={{ hostvars["kbr13"]["default_database_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['kbr13']['default_network'] }} {{ hostvars['kbr13']['default_node_type'] }}: {{ hostvars['kbr13']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['kbr13']['ansible_port'] }}" + to_host: "{{ hostvars['kbr13']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['kbr13']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['kbr13']['default_p2p_port'] }}" + to_host: "{{ hostvars['kbr13']['container_ip'] }}:{{ hostvars['kbr13']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['kbr13']['default_p2p_port'] }}" + to_host: "{{ hostvars['kbr13']['container_ip'] }}:{{ hostvars['kbr13']['default_p2p_port'] }}" + protocol: "udp" + - from_port: "{{ hostvars['kbr13']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['kbr13']['container_ip'] }}:{{ hostvars['kbr13']['default_p2p_port_ws'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['kbr13']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['kbr13']['container_ip'] }}:{{ hostvars['kbr13']['default_p2p_port_ws'] }}" + protocol: "udp" + - from_port: "{{ hostvars['kbr13']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['kbr13']['container_ip'] }}:{{ hostvars['kbr13']['default_p2p_port_wss'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['kbr13']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['kbr13']['container_ip'] }}:{{ hostvars['kbr13']['default_p2p_port_wss'] }}" + protocol: "udp" + - host: "wbr13" + proxmox_config: + vmid: "566" + hostname: "{{ hostvars['wbr13']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['wbr13']['netif'] }}" + cores: 2 + memory: 8192 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:50,mp={{ hostvars["wbr13"]["default_database_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['wbr13']['default_network'] }} {{ hostvars['wbr13']['default_node_type'] }}: {{ hostvars['wbr13']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['wbr13']['ansible_port'] }}" + to_host: "{{ hostvars['wbr13']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['wbr13']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['wbr13']['default_p2p_port'] }}" + to_host: "{{ hostvars['wbr13']['container_ip'] }}:{{ hostvars['wbr13']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wbr13']['default_p2p_port'] }}" + to_host: "{{ hostvars['wbr13']['container_ip'] }}:{{ hostvars['wbr13']['default_p2p_port'] }}" + protocol: "udp" + - from_port: "{{ hostvars['wbr13']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['wbr13']['container_ip'] }}:{{ hostvars['wbr13']['default_p2p_port_ws'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wbr13']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['wbr13']['container_ip'] }}:{{ hostvars['wbr13']['default_p2p_port_ws'] }}" + protocol: "udp" + - from_port: "{{ hostvars['wbr13']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['wbr13']['container_ip'] }}:{{ hostvars['wbr13']['default_p2p_port_wss'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wbr13']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['wbr13']['container_ip'] }}:{{ hostvars['wbr13']['default_p2p_port_wss'] }}" + protocol: "udp" + - host: "pch13" + proxmox_config: + vmid: "576" + hostname: "{{ hostvars['pch13']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['pch13']['netif'] }}" + cores: 4 + memory: 8192 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:100,mp={{ hostvars["pch13"]["default_database_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['pch13']['default_network'] }} {{ hostvars['pch13']['default_node_type'] }}: {{ hostvars['pch13']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['pch13']['ansible_port'] }}" + to_host: "{{ hostvars['pch13']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['pch13']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['pch13']['default_p2p_port'] }}" + to_host: "{{ hostvars['pch13']['container_ip'] }}:{{ hostvars['pch13']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['pch13']['default_p2p_port'] }}" + to_host: "{{ hostvars['pch13']['container_ip'] }}:{{ hostvars['pch13']['default_p2p_port'] }}" + protocol: "udp" + - from_port: "{{ hostvars['pch13']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['pch13']['container_ip'] }}:{{ hostvars['pch13']['default_p2p_port_ws'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['pch13']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['pch13']['container_ip'] }}:{{ hostvars['pch13']['default_p2p_port_ws'] }}" + protocol: "udp" + - from_port: "{{ hostvars['pch13']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['pch13']['container_ip'] }}:{{ hostvars['pch13']['default_p2p_port_wss'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['pch13']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['pch13']['container_ip'] }}:{{ hostvars['pch13']['default_p2p_port_wss'] }}" + protocol: "udp" + - host: "wch13" + proxmox_config: + vmid: "596" + hostname: "{{ hostvars['wch13']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['wch13']['netif'] }}" + cores: 2 + memory: 8192 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:50,mp={{ hostvars["wch13"]["default_database_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['wch13']['default_network'] }} {{ hostvars['wch13']['default_node_type'] }}: {{ hostvars['wch13']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['wch13']['ansible_port'] }}" + to_host: "{{ hostvars['wch13']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['wch13']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['wch13']['default_p2p_port'] }}" + to_host: "{{ hostvars['wch13']['container_ip'] }}:{{ hostvars['wch13']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wch13']['default_p2p_port'] }}" + to_host: "{{ hostvars['wch13']['container_ip'] }}:{{ hostvars['wch13']['default_p2p_port'] }}" + protocol: "udp" + - from_port: "{{ hostvars['wch13']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['wch13']['container_ip'] }}:{{ hostvars['wch13']['default_p2p_port_ws'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wch13']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['wch13']['container_ip'] }}:{{ hostvars['wch13']['default_p2p_port_ws'] }}" + protocol: "udp" + - from_port: "{{ hostvars['wch13']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['wch13']['container_ip'] }}:{{ hostvars['wch13']['default_p2p_port_wss'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wch13']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['wch13']['container_ip'] }}:{{ hostvars['wch13']['default_p2p_port_wss'] }}" + protocol: "udp" - host: "enc14" proxmox_config: vmid: "506" @@ -70,44 +598,6 @@ lxc_nodes: - from_port: "{{ hostvars['enc14']['default_p2p_port_wss'] }}" to_host: "{{ hostvars['enc14']['container_ip'] }}:{{ hostvars['enc14']['default_p2p_port_wss'] }}" protocol: "udp" - # - host: "dot16" - # proxmox_config: - # vmid: "316" - # hostname: "{{ hostvars['dot16']['host_name'] }}" - # ostemplate: "local:vztmpl/{{ default_container_template }}" - # netif: "{{ hostvars['dot16']['netif'] }}" - # cores: 4 - # memory: 16384 - # swap: 8192 - # password: "{{ default_password }}" - # disk: "{{ default_storage }}:20" - # mounts: '{"mp0":"{{ default_storage }}:1500,mp={{ hostvars["dot16"]["default_base_path"] }}"}' - # onboot: True - # unprivileged: True - # validate_certs: False - # description: "{{ hostvars['dot16']['default_network'] }} {{ hostvars['dot16']['default_node_type'] }}: {{ hostvars['dot16']['host_name'] }}" - # state: present - # features: - # - nesting=1 - # port_forwards: - # - from_port: "{{ hostvars['dot16']['ansible_port'] }}" - # to_host: "{{ hostvars['dot16']['container_ip'] }}:22" - # protocol: "tcp" - # - from_port: "{{ hostvars['dot16']['zabbix_ext_port'] }}" - # to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - # protocol: "tcp" - # - from_port: "{{ hostvars['dot16']['default_p2p_port'] }}" - # to_host: "{{ hostvars['dot16']['container_ip'] }}:{{ hostvars['dot16']['default_p2p_port'] }}" - # protocol: "tcp" - # - from_port: "{{ hostvars['dot16']['default_p2p_port'] }}" - # to_host: "{{ hostvars['dot16']['container_ip'] }}:{{ hostvars['dot16']['default_p2p_port'] }}" - # protocol: "udp" - # - from_port: "{{ hostvars['dot16']['default_p2p_port_ws'] }}" - # to_host: "{{ hostvars['dot16']['container_ip'] }}:{{ hostvars['dot16']['default_p2p_port_ws'] }}" - # protocol: "tcp" - # - from_port: "{{ hostvars['dot16']['default_p2p_port_ws'] }}" - # to_host: "{{ hostvars['dot16']['container_ip'] }}:{{ hostvars['dot16']['default_p2p_port_ws'] }}" - # protocol: "udp" - host: "dot26" proxmox_config: vmid: "316" diff --git a/host_vars/dot14.yaml b/host_vars/dot14.yaml index c86a0b8..18c98b3 100644 --- a/host_vars/dot14.yaml +++ b/host_vars/dot14.yaml @@ -1,7 +1,7 @@ --- ansible_host: "27.131.160.106" -container_ip: "192.168.69.214" -ansible_port: "2214" +container_ip: "192.168.76.216" +ansible_port: "2216" host_name: "dot14.rotko.net" host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' diff --git a/host_vars/enc14.yaml b/host_vars/enc14.yaml index 728e654..f5ed753 100644 --- a/host_vars/enc14.yaml +++ b/host_vars/enc14.yaml @@ -17,11 +17,11 @@ default_node_type: "bootnode" default_pruning: "archive" default_database: paritydb default_syncmode: full -default_p2p_port: 33506 -default_p2p_port_ws: 34506 -default_p2p_port_wss: 35506 -default_rpc_port: 9506 -default_secure_rpc_port: 42506 -default_prom_port: 7506 -zabbix_ext_port: 10506 +default_p2p_port: 33504 +default_p2p_port_ws: 34504 +default_p2p_port_wss: 35504 +default_rpc_port: 9504 +default_secure_rpc_port: 42504 +default_prom_port: 7504 +zabbix_ext_port: 10504 ... diff --git a/host_vars/gatus.yaml b/host_vars/gatus.yaml index 3d5e3f2..10833e1 100644 --- a/host_vars/gatus.yaml +++ b/host_vars/gatus.yaml @@ -1,6 +1,7 @@ --- -ansible_host: "65.21.107.112" -ansible_port: "20780" +ansible_host: "172.104.169.64" +ansible_port: "22" +# ansible_port: "20780" host_name: "status.rotko.net" host_timezone: "Europe/Helsinki" ... diff --git a/host_vars/gatusold.yaml b/host_vars/gatusold.yaml deleted file mode 100644 index 3d5e3f2..0000000 --- a/host_vars/gatusold.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- -ansible_host: "65.21.107.112" -ansible_port: "20780" -host_name: "status.rotko.net" -host_timezone: "Europe/Helsinki" -... diff --git a/host_vars/kbr13.yaml b/host_vars/kbr13.yaml index c527940..755428d 100644 --- a/host_vars/kbr13.yaml +++ b/host_vars/kbr13.yaml @@ -1,7 +1,7 @@ --- ansible_host: "27.131.160.106" -container_ip: "192.168.69.245" -ansible_port: "2553" +container_ip: "192.168.76.245" +ansible_port: "2556" host_name: "kbr13.rotko.net" host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' @@ -11,7 +11,7 @@ pinned_service: True default_telemetry_name: "Rotko Networks - {{ host_name.split('.')[0] }} {{ default_node_type | capitalize }}" default_public_dns: "{{ host_name }}" default_network: "bridge-hub-kusama" -default_relay_rpc: "ws://{{ hostvars['ksm14']['container_ip'] }}:{{ hostvars['ksm14']['default_rpc_port'] }}" +default_relay_rpc: "ws://{{ hostvars['ksm26']['container_ip'] }}:{{ hostvars['ksm26']['default_rpc_port'] }}" default_relay_rpc_fallback: "ws://{{ hostvars['ksm24']['container_ip'] }}:{{ hostvars['ksm24']['default_rpc_port'] }}" default_database: paritydb default_node_type: "bootnode" diff --git a/host_vars/ksm14.yaml b/host_vars/ksm14.yaml index efb3259..1db6908 100644 --- a/host_vars/ksm14.yaml +++ b/host_vars/ksm14.yaml @@ -1,7 +1,7 @@ --- ansible_host: "27.131.160.106" -container_ip: "192.168.69.224" -ansible_port: "2224" +container_ip: "192.168.76.226" +ansible_port: "2226" host_name: "ksm14.rotko.net" host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' diff --git a/host_vars/mine14.yaml b/host_vars/mine14.yaml index 3b21169..f798021 100644 --- a/host_vars/mine14.yaml +++ b/host_vars/mine14.yaml @@ -1,7 +1,7 @@ --- ansible_host: "27.131.160.106" -container_ip: "192.168.69.242" -ansible_port: "2524" +container_ip: "192.168.76.242" +ansible_port: "2526" host_name: "mine14.rotko.net" host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' @@ -11,7 +11,7 @@ pinned_service: True default_telemetry_name: "Rotko Networks - {{ host_name.split('.')[0] }} {{ default_node_type | capitalize }}" default_public_dns: "{{ host_name }}" default_network: asset-hub-kusama -default_relay_rpc: "ws://{{ hostvars['ksm14']['container_ip'] }}:{{ hostvars['ksm14']['default_rpc_port'] }}" +default_relay_rpc: "ws://{{ hostvars['ksm26']['container_ip'] }}:{{ hostvars['ksm26']['default_rpc_port'] }}" default_relay_rpc_fallback: "ws://{{ hostvars['ksm24']['container_ip'] }}:{{ hostvars['ksm24']['default_rpc_port'] }}" default_database: paritydb default_node_type: "bootnode" diff --git a/host_vars/mint14.yaml b/host_vars/mint14.yaml index 6cc41fa..6e14e2a 100644 --- a/host_vars/mint14.yaml +++ b/host_vars/mint14.yaml @@ -1,7 +1,7 @@ --- ansible_host: "27.131.160.106" -container_ip: "192.168.69.241" -ansible_port: "2514" +container_ip: "192.168.76.241" +ansible_port: "2516" host_name: "mint14.rotko.net" host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' @@ -11,8 +11,8 @@ pinned_service: True default_telemetry_name: "Rotko Networks - {{ host_name.split('.')[0] }} {{ default_node_type | capitalize }}" default_public_dns: "{{ host_name }}" default_network: asset-hub-polkadot -default_relay_rpc: "ws://{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_rpc_port'] }}" -default_relay_rpc_fallback: "ws://{{ hostvars['dot24']['container_ip'] }}:{{ hostvars['dot24']['default_rpc_port'] }}" +default_relay_rpc: "ws://{{ hostvars['dot26']['container_ip'] }}:{{ hostvars['dot26']['default_rpc_port'] }}" +default_relay_rpc_fallback: "ws://{{ hostvars['dot23']['container_ip'] }}:{{ hostvars['dot23']['default_rpc_port'] }}" default_database: paritydb default_node_type: "bootnode" # default_pruning: 256 diff --git a/host_vars/pbr13.yaml b/host_vars/pbr13.yaml index 101026a..d8284e4 100644 --- a/host_vars/pbr13.yaml +++ b/host_vars/pbr13.yaml @@ -1,8 +1,8 @@ --- ansible_host: "27.131.160.106" -container_ip: "192.168.69.44" -ansible_port: "2646" -host_name: "pbr26.rotko.net" +container_ip: "192.168.76.244" +ansible_port: "2546" +host_name: "pbr13.rotko.net" host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' role: "cumulus" @@ -14,12 +14,14 @@ default_network: "bridge-hub-polkadot" default_relay_rpc: "ws://{{ hostvars['dot26']['container_ip'] }}:{{ hostvars['dot26']['default_rpc_port'] }}" default_relay_rpc_fallback: "ws://{{ hostvars['dot23']['container_ip'] }}:{{ hostvars['dot23']['default_rpc_port'] }}" default_database: paritydb -default_node_type: "endpoint" -default_p2p_port: 33646 -default_p2p_port_ws: 34646 -default_p2p_port_wss: 35646 -default_rpc_port: 9646 -default_secure_rpc_port: 42646 -default_prom_port: 7646 -zabbix_ext_port: 10646 +default_node_type: "bootnode" +# default_pruning: 256 +# default_syncmode: fast +default_p2p_port: 33543 +default_p2p_port_ws: 34543 +default_p2p_port_wss: 35543 +default_rpc_port: 9543 +default_secure_rpc_port: 42543 +default_prom_port: 7543 +zabbix_ext_port: 10543 ... diff --git a/host_vars/pch13.yaml b/host_vars/pch13.yaml index 6bc3a0f..b586c03 100644 --- a/host_vars/pch13.yaml +++ b/host_vars/pch13.yaml @@ -1,7 +1,7 @@ --- ansible_host: "27.131.160.106" -container_ip: "192.168.69.247" -ansible_port: "2573" +container_ip: "192.168.76.247" +ansible_port: "2576" host_name: "pch13.rotko.net" host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' @@ -11,8 +11,8 @@ pinned_service: True default_telemetry_name: "Rotko Networks - {{ host_name.split('.')[0] }} {{ default_node_type | capitalize }}" default_public_dns: "{{ host_name }}" default_network: "collectives-polkadot" -default_relay_rpc: "ws://{{ hostvars['dot14']['container_ip'] }}:{{ hostvars['dot14']['default_rpc_port'] }}" -default_relay_rpc_fallback: "ws://{{ hostvars['dot24']['container_ip'] }}:{{ hostvars['dot24']['default_rpc_port'] }}" +default_relay_rpc: "ws://{{ hostvars['dot26']['container_ip'] }}:{{ hostvars['dot26']['default_rpc_port'] }}" +default_relay_rpc_fallback: "ws://{{ hostvars['dot23']['container_ip'] }}:{{ hostvars['dot23']['default_rpc_port'] }}" default_database: paritydb default_node_type: "bootnode" # default_pruning: 256 diff --git a/host_vars/wbr13.yaml b/host_vars/wbr13.yaml index d412a72..bbb3700 100644 --- a/host_vars/wbr13.yaml +++ b/host_vars/wbr13.yaml @@ -1,7 +1,7 @@ --- ansible_host: "27.131.160.106" -container_ip: "192.168.69.246" -ansible_port: "2563" +container_ip: "192.168.76.248" +ansible_port: "2566" host_name: "wbr13.rotko.net" host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' @@ -11,8 +11,8 @@ pinned_service: True default_telemetry_name: "Rotko Networks - {{ host_name.split('.')[0] }} {{ default_node_type | capitalize }}" default_public_dns: "{{ host_name }}" default_network: "bridge-hub-westend" -default_relay_rpc: "ws://{{ hostvars['wnd14']['container_ip'] }}:{{ hostvars['wnd14']['default_rpc_port'] }}" -default_relay_rpc_fallback: "ws://{{ hostvars['wnd24']['container_ip'] }}:{{ hostvars['wnd24']['default_rpc_port'] }}" +default_relay_rpc: "ws://{{ hostvars['wnd26']['container_ip'] }}:{{ hostvars['wnd26']['default_rpc_port'] }}" +default_relay_rpc_fallback: "ws://{{ hostvars['wnd23']['container_ip'] }}:{{ hostvars['wnd23']['default_rpc_port'] }}" default_database: paritydb default_node_type: "bootnode" default_pruning: 256 diff --git a/host_vars/wch13.yaml b/host_vars/wch13.yaml index be25e68..5208038 100644 --- a/host_vars/wch13.yaml +++ b/host_vars/wch13.yaml @@ -1,7 +1,7 @@ --- ansible_host: "27.131.160.106" -container_ip: "192.168.69.249" -ansible_port: "2593" +container_ip: "192.168.76.249" +ansible_port: "2596" host_name: "wch13.rotko.net" host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' @@ -11,8 +11,8 @@ pinned_service: True default_telemetry_name: "Rotko Networks - {{ host_name.split('.')[0] }} {{ default_node_type | capitalize }}" default_public_dns: "{{ host_name }}" default_network: "collectives-westend" -default_relay_rpc: "ws://{{ hostvars['wnd14']['container_ip'] }}:{{ hostvars['wnd14']['default_rpc_port'] }}" -default_relay_rpc_fallback: "ws://{{ hostvars['wnd24']['container_ip'] }}:{{ hostvars['wnd24']['default_rpc_port'] }}" +default_relay_rpc: "ws://{{ hostvars['wnd26']['container_ip'] }}:{{ hostvars['wnd26']['default_rpc_port'] }}" +default_relay_rpc_fallback: "ws://{{ hostvars['wnd23']['container_ip'] }}:{{ hostvars['wnd23']['default_rpc_port'] }}" default_database: paritydb default_node_type: "bootnode" default_pruning: 256 diff --git a/host_vars/wmint14.yaml b/host_vars/wmint14.yaml index 0d9b4d3..5d332ed 100644 --- a/host_vars/wmint14.yaml +++ b/host_vars/wmint14.yaml @@ -1,7 +1,7 @@ --- ansible_host: "27.131.160.106" -container_ip: "192.168.69.243" -ansible_port: "2534" +container_ip: "192.168.76.243" +ansible_port: "2536" host_name: "wmint14.rotko.net" host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' @@ -11,8 +11,8 @@ pinned_service: True default_telemetry_name: "Rotko Networks - {{ host_name.split('.')[0] }} {{ default_node_type | capitalize }}" default_public_dns: "{{ host_name }}" default_network: "asset-hub-westend" -default_relay_rpc: "ws://{{ hostvars['wnd14']['container_ip'] }}:{{ hostvars['wnd14']['default_rpc_port'] }}" -default_relay_rpc_fallback: "ws://{{ hostvars['wnd24']['container_ip'] }}:{{ hostvars['wnd24']['default_rpc_port'] }}" +default_relay_rpc: "ws://{{ hostvars['wnd26']['container_ip'] }}:{{ hostvars['wnd26']['default_rpc_port'] }}" +default_relay_rpc_fallback: "ws://{{ hostvars['wnd23']['container_ip'] }}:{{ hostvars['wnd23']['default_rpc_port'] }}" default_database: paritydb default_node_type: "bootnode" default_pruning: 256 diff --git a/host_vars/wnd14.yaml b/host_vars/wnd14.yaml index f2e6e64..f6322c6 100644 --- a/host_vars/wnd14.yaml +++ b/host_vars/wnd14.yaml @@ -1,7 +1,7 @@ --- ansible_host: "27.131.160.106" -container_ip: "192.168.69.234" -ansible_port: "2234" +container_ip: "192.168.76.236" +ansible_port: "2236" host_name: "wnd14.rotko.net" host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' diff --git a/inventory b/inventory index a3a8d07..6b9b188 100644 --- a/inventory +++ b/inventory @@ -28,6 +28,14 @@ kbr13 wmint14 wbr13 wch13 +mint26 +pbr26 +pch26 +mine26 +kbr26 +wmint26 +wbr26 +wch26 [encointer] enc14 @@ -41,6 +49,9 @@ dot02 dot23 ksm23 wnd23 +dot26 +ksm26 +wnd26 dot14 dot24 ksm04