From 785ec588cfa4a711ce48dbf3ca33368227409cc4 Mon Sep 17 00:00:00 2001 From: hitchhooker Date: Mon, 5 Feb 2024 18:22:32 +0700 Subject: [PATCH] add second system parachain nodes --- host_vars/bkk03.yaml | 215 ++++++++++-- host_vars/bkk04.yaml | 477 +++++---------------------- host_vars/ibp.yaml | 2 + host_vars/kbr24.yaml | 22 +- host_vars/mine24.yaml | 10 +- host_vars/mint23.yaml | 18 +- host_vars/pbr23.yaml | 24 ++ host_vars/pch23.yaml | 24 ++ host_vars/pso24.yaml | 34 ++ host_vars/{wbr24.yaml => wbr23.yaml} | 22 +- host_vars/wch23.yaml | 24 ++ host_vars/wmint23.yaml | 18 +- 12 files changed, 420 insertions(+), 470 deletions(-) create mode 100644 host_vars/pbr23.yaml create mode 100644 host_vars/pch23.yaml create mode 100644 host_vars/pso24.yaml rename host_vars/{wbr24.yaml => wbr23.yaml} (53%) create mode 100644 host_vars/wch23.yaml diff --git a/host_vars/bkk03.yaml b/host_vars/bkk03.yaml index a3d9f3d..e99f63c 100644 --- a/host_vars/bkk03.yaml +++ b/host_vars/bkk03.yaml @@ -18,11 +18,8 @@ default_container_template: "debian-12-standard_12.0-1_amd64.tar.zst" default_gw_device: "enp9s0" default_resource_pool: "bkk03_resource_pool" # storage -default_storage: "tank03" +default_storage: "tank03lvm" default_storage_mountpoint: "/mnt/tank" -default_storage_type: "zfspool" -default_storage_content: "images,rootdir" -default_storage_sparse: 1 port_forwards: - from_port: "{{ ansible_port }}" @@ -84,15 +81,9 @@ lxc_nodes: - from_port: "{{ hostvars['dot23']['default_p2p_port'] }}" to_host: "{{ hostvars['dot23']['container_ip'] }}:{{ hostvars['dot23']['default_p2p_port'] }}" protocol: "tcp" - - from_port: "{{ hostvars['dot23']['default_p2p_port'] }}" - to_host: "{{ hostvars['dot23']['container_ip'] }}:{{ hostvars['dot23']['default_p2p_port'] }}" - protocol: "udp" - from_port: "{{ hostvars['dot23']['default_p2p_port_ws'] }}" to_host: "{{ hostvars['dot23']['container_ip'] }}:{{ hostvars['dot23']['default_p2p_port_ws'] }}" protocol: "tcp" - - from_port: "{{ hostvars['dot23']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['dot23']['container_ip'] }}:{{ hostvars['dot23']['default_p2p_port_ws'] }}" - protocol: "udp" - host: "ksm23" proxmox_config: vmid: "323" @@ -122,15 +113,9 @@ lxc_nodes: - from_port: "{{ hostvars['ksm23']['default_p2p_port'] }}" to_host: "{{ hostvars['ksm23']['container_ip'] }}:{{ hostvars['ksm23']['default_p2p_port'] }}" protocol: "tcp" - - from_port: "{{ hostvars['ksm23']['default_p2p_port'] }}" - to_host: "{{ hostvars['ksm23']['container_ip'] }}:{{ hostvars['ksm23']['default_p2p_port'] }}" - protocol: "udp" - from_port: "{{ hostvars['ksm23']['default_p2p_port_ws'] }}" to_host: "{{ hostvars['ksm23']['container_ip'] }}:{{ hostvars['ksm23']['default_p2p_port_ws'] }}" protocol: "tcp" - - from_port: "{{ hostvars['ksm23']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['ksm23']['container_ip'] }}:{{ hostvars['ksm23']['default_p2p_port_ws'] }}" - protocol: "udp" - host: "wnd23" proxmox_config: vmid: "333" @@ -160,12 +145,198 @@ lxc_nodes: - from_port: "{{ hostvars['wnd23']['default_p2p_port'] }}" to_host: "{{ hostvars['wnd23']['container_ip'] }}:{{ hostvars['wnd23']['default_p2p_port'] }}" protocol: "tcp" - - from_port: "{{ hostvars['wnd23']['default_p2p_port'] }}" - to_host: "{{ hostvars['wnd23']['container_ip'] }}:{{ hostvars['wnd23']['default_p2p_port'] }}" - protocol: "udp" - from_port: "{{ hostvars['wnd23']['default_p2p_port_ws'] }}" to_host: "{{ hostvars['wnd23']['container_ip'] }}:{{ hostvars['wnd23']['default_p2p_port_ws'] }}" protocol: "tcp" - - from_port: "{{ hostvars['wnd23']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['wnd23']['container_ip'] }}:{{ hostvars['wnd23']['default_p2p_port_ws'] }}" - protocol: "udp" + - host: "mint23" + proxmox_config: + vmid: "613" + hostname: "{{ hostvars['mint23']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['mint23']['netif'] }}" + cores: 4 + memory: 16384 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["mint23"]["default_base_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['mint23']['default_network'] }} {{ hostvars['mint23']['default_node_type'] }}: {{ hostvars['mint23']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['mint23']['ansible_port'] }}" + to_host: "{{ hostvars['mint23']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['mint23']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['mint23']['default_p2p_port'] }}" + to_host: "{{ hostvars['mint23']['container_ip'] }}:{{ hostvars['mint23']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['mint23']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['mint23']['container_ip'] }}:{{ hostvars['mint23']['default_p2p_port_ws'] }}" + protocol: "tcp" + - host: "wmint23" + proxmox_config: + vmid: "633" + hostname: "{{ hostvars['wmint23']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['wmint23']['netif'] }}" + cores: 4 + memory: 16384 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["wmint23"]["default_base_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['wmint23']['default_network'] }} {{ hostvars['wmint23']['default_node_type'] }}: {{ hostvars['wmint23']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['wmint23']['ansible_port'] }}" + to_host: "{{ hostvars['wmint23']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['wmint23']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['wmint23']['default_p2p_port'] }}" + to_host: "{{ hostvars['wmint23']['container_ip'] }}:{{ hostvars['wmint23']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wmint23']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['wmint23']['container_ip'] }}:{{ hostvars['wmint23']['default_p2p_port_ws'] }}" + protocol: "tcp" + - host: "pbr23" + proxmox_config: + vmid: "643" + hostname: "{{ hostvars['pbr23']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['pbr23']['netif'] }}" + cores: 4 + memory: 16384 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["pbr23"]["default_base_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['pbr23']['default_network'] }} {{ hostvars['pbr23']['default_node_type'] }}: {{ hostvars['pbr23']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['pbr23']['ansible_port'] }}" + to_host: "{{ hostvars['pbr23']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['pbr23']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['pbr23']['default_p2p_port'] }}" + to_host: "{{ hostvars['pbr23']['container_ip'] }}:{{ hostvars['pbr23']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['pbr23']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['pbr23']['container_ip'] }}:{{ hostvars['pbr23']['default_p2p_port_ws'] }}" + protocol: "tcp" + - host: "wbr23" + proxmox_config: + vmid: "663" + hostname: "{{ hostvars['wbr23']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['wbr23']['netif'] }}" + cores: 4 + memory: 16384 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["wbr23"]["default_base_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['wbr23']['default_network'] }} {{ hostvars['wbr23']['default_node_type'] }}: {{ hostvars['wbr23']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['wbr23']['ansible_port'] }}" + to_host: "{{ hostvars['wbr23']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['wbr23']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['wbr23']['default_p2p_port'] }}" + to_host: "{{ hostvars['wbr23']['container_ip'] }}:{{ hostvars['wbr23']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wbr23']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['wbr23']['container_ip'] }}:{{ hostvars['wbr23']['default_p2p_port_ws'] }}" + protocol: "tcp" + - host: "pch23" + proxmox_config: + vmid: "673" + hostname: "{{ hostvars['pch23']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['pch23']['netif'] }}" + cores: 4 + memory: 16384 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["pch23"]["default_base_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['pch23']['default_network'] }} {{ hostvars['pch23']['default_node_type'] }}: {{ hostvars['pch23']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['pch23']['ansible_port'] }}" + to_host: "{{ hostvars['pch23']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['pch23']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['pch23']['default_p2p_port'] }}" + to_host: "{{ hostvars['pch23']['container_ip'] }}:{{ hostvars['pch23']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['pch23']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['pch23']['container_ip'] }}:{{ hostvars['pch23']['default_p2p_port_ws'] }}" + protocol: "tcp" + - host: "wch23" + proxmox_config: + vmid: "693" + hostname: "{{ hostvars['wch23']['host_name'] }}" + ostemplate: "local:vztmpl/{{ default_container_template }}" + netif: "{{ hostvars['wch23']['netif'] }}" + cores: 4 + memory: 16384 + swap: 8192 + password: "{{ default_password }}" + disk: "{{ default_storage }}:20" + mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["wch23"]["default_base_path"] }}"}' + onboot: True + unprivileged: True + validate_certs: False + description: "{{ hostvars['wch23']['default_network'] }} {{ hostvars['wch23']['default_node_type'] }}: {{ hostvars['wch23']['host_name'] }}" + state: present + features: + - nesting=1 + port_forwards: + - from_port: "{{ hostvars['wch23']['ansible_port'] }}" + to_host: "{{ hostvars['wch23']['container_ip'] }}:22" + protocol: "tcp" + - from_port: "{{ hostvars['wch23']['zabbix_ext_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" + protocol: "tcp" + - from_port: "{{ hostvars['wch23']['default_p2p_port'] }}" + to_host: "{{ hostvars['wch23']['container_ip'] }}:{{ hostvars['wch23']['default_p2p_port'] }}" + protocol: "tcp" + - from_port: "{{ hostvars['wch23']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['wch23']['container_ip'] }}:{{ hostvars['wch23']['default_p2p_port_ws'] }}" + protocol: "tcp" diff --git a/host_vars/bkk04.yaml b/host_vars/bkk04.yaml index 72b0344..948ae30 100644 --- a/host_vars/bkk04.yaml +++ b/host_vars/bkk04.yaml @@ -11,51 +11,30 @@ kernel_modules: default_kvm_host: "192.168.69.204" default_kvm_port: "20794" +default_proxmox_port: "20814" default_need_routeros_port_forwarding: True routeros_delegate_host: "bkk00" default_need_iptables_port_forwarding: False default_container_template: "debian-12-standard_12.0-1_amd64.tar.zst" default_gw_device: "enp10s0" -default_storage: "tank04" +default_storage: "tank04lvm" default_resource_pool: "bkk04_resource_pool" port_forwards: - from_port: "{{ ansible_port }}" to_host: "{{ container_ip }}:22" protocol: "tcp" + - from_port: "{{ default_proxmox_port }}" + to_host: "{{ container_ip }}:8006" + protocol: "tcp" lxc_nodes: - - host: "ansible" - proxmox_config: - vmid: "999" - hostname: "{{ hostvars['ansible']['host_name'] }}" - ostemplate: "local:vztmpl/{{ hostvars['ansible']['default_container_template'] }}" - netif: "{{ hostvars['ansible']['netif'] }}" - cores: 1 - memory: 256 - swap: 256 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - onboot: True - unprivileged: True - validate_certs: False - description: "ansible tower" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['ansible']['ansible_port'] }}" - to_host: "{{ hostvars['ansible']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['ansible']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['ansible']['container_ip'] }}:10050" - protocol: "tcp" - - host: "matrix" + - host: "monitor" proxmox_config: - vmid: "969" - hostname: "{{ hostvars['matrix']['host_name'] }}" + vmid: "998" + hostname: "{{ hostvars['monitor']['host_name'] }}" ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['matrix']['netif'] }}" + netif: "{{ hostvars['monitor']['netif'] }}" cores: 1 memory: 512 swap: 512 @@ -64,58 +43,15 @@ lxc_nodes: onboot: True unprivileged: True validate_certs: False - description: "conduit server for matrix" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['matrix']['ansible_port'] }}" - to_host: "{{ hostvars['matrix']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "8448" - to_host: "{{ hostvars['matrix']['container_ip'] }}:8448" - protocol: "tcp" - - from_port: "{{ hostvars['matrix']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - host: "dot24" - proxmox_config: - vmid: "314" - hostname: "{{ hostvars['dot24']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['dot24']['netif'] }}" - cores: 8 - memory: 16384 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:2000,mp={{ hostvars["dot24"]["default_base_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['dot24']['default_network'] }} {{ hostvars['dot24']['default_node_type'] }}: {{ hostvars['dot24']['host_name'] }}" + description: "{{ hostvars['monitor']['host_name'] }}" state: present features: - nesting=1 port_forwards: - - from_port: "{{ hostvars['dot24']['ansible_port'] }}" - to_host: "{{ hostvars['dot24']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['dot24']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['dot24']['default_p2p_port'] }}" - to_host: "{{ hostvars['dot24']['container_ip'] }}:{{ hostvars['dot24']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['dot24']['default_p2p_port'] }}" - to_host: "{{ hostvars['dot24']['container_ip'] }}:{{ hostvars['dot24']['default_p2p_port'] }}" - protocol: "udp" - - from_port: "{{ hostvars['dot24']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['dot24']['container_ip'] }}:{{ hostvars['dot24']['default_p2p_port_ws'] }}" + - from_port: "{{ hostvars['monitor']['ansible_port'] }}" + to_host: "{{ hostvars['monitor']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['dot24']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['dot24']['container_ip'] }}:{{ hostvars['dot24']['default_p2p_port_ws'] }}" - protocol: "udp" + # TODO: add zabbix / prometheus port forwards - host: "ksm04" proxmox_config: vmid: "124" @@ -123,7 +59,7 @@ lxc_nodes: ostemplate: "local:vztmpl/{{ default_container_template }}" netif: "{{ hostvars['ksm04']['netif'] }}" cores: 4 - memory: 8192 + memory: 16384 swap: 8192 password: "{{ default_password }}" disk: "{{ default_storage }}:20" @@ -145,15 +81,9 @@ lxc_nodes: - from_port: "{{ hostvars['ksm04']['default_p2p_port'] }}" to_host: "{{ hostvars['ksm04']['container_ip'] }}:{{ hostvars['ksm04']['default_p2p_port'] }}" protocol: "tcp" - - from_port: "{{ hostvars['ksm04']['default_p2p_port'] }}" - to_host: "{{ hostvars['ksm04']['container_ip'] }}:{{ hostvars['ksm04']['default_p2p_port'] }}" - protocol: "udp" - from_port: "{{ hostvars['ksm04']['default_p2p_port_ws'] }}" to_host: "{{ hostvars['ksm04']['container_ip'] }}:{{ hostvars['ksm04']['default_p2p_port_ws'] }}" protocol: "tcp" - - 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" @@ -183,402 +113,143 @@ lxc_nodes: - 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" + - host: "pso24" proxmox_config: - vmid: "334" - hostname: "{{ hostvars['wnd24']['host_name'] }}" + vmid: "344" + hostname: "{{ hostvars['pso24']['host_name'] }}" ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['wnd24']['netif'] }}" - cores: 4 + netif: "{{ hostvars['pso24']['netif'] }}" + cores: 8 memory: 16384 swap: 8192 password: "{{ default_password }}" disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:1000,mp={{ hostvars["wnd24"]["default_base_path"] }}"}' + mounts: '{"mp0":"{{ default_storage }}:3000,mp={{ hostvars["pso24"]["default_base_path"] }}"}' onboot: True unprivileged: True validate_certs: False - description: "{{ hostvars['wnd24']['default_network'] }} {{ hostvars['wnd24']['default_node_type'] }}: {{ hostvars['wnd24']['host_name'] }}" + description: "{{ hostvars['pso24']['default_network'] }} {{ hostvars['pso24']['default_node_type'] }}: {{ hostvars['pso24']['host_name'] }}" state: present features: - nesting=1 port_forwards: - - from_port: "{{ hostvars['wnd24']['ansible_port'] }}" - to_host: "{{ hostvars['wnd24']['container_ip'] }}:22" + - from_port: "{{ hostvars['pso24']['ansible_port'] }}" + to_host: "{{ hostvars['pso24']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['wnd24']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['pso24']['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'] }}" + - from_port: "{{ hostvars['pso24']['default_p2p_port'] }}" + to_host: "{{ hostvars['pso24']['container_ip'] }}:{{ hostvars['pso24']['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'] }}" + - from_port: "{{ hostvars['pso24']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['pso24']['container_ip'] }}:{{ hostvars['pso24']['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" + - host: "mine24" proxmox_config: - vmid: "214" - hostname: "{{ hostvars['dot14']['host_name'] }}" + vmid: "624" + hostname: "{{ hostvars['mine24']['host_name'] }}" ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['dot14']['netif'] }}" + netif: "{{ hostvars['mine24']['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"] }}"}' + mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["mine24"]["default_database_path"] }}"}' onboot: True unprivileged: True validate_certs: False - description: "{{ hostvars['dot14']['default_network'] }} {{ hostvars['dot14']['default_node_type'] }}: {{ hostvars['dot14']['host_name'] }}" + description: "{{ hostvars['mine24']['default_network'] }} {{ hostvars['mine24']['default_node_type'] }}: {{ hostvars['mine24']['host_name'] }}" state: present features: - nesting=1 port_forwards: - - from_port: "{{ hostvars['dot14']['ansible_port'] }}" - to_host: "{{ hostvars['dot14']['container_ip'] }}:22" + - from_port: "{{ hostvars['mine24']['ansible_port'] }}" + to_host: "{{ hostvars['mine24']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['dot14']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['mine24']['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'] }}" + - from_port: "{{ hostvars['mine24']['default_p2p_port'] }}" + to_host: "{{ hostvars['mine24']['container_ip'] }}:{{ hostvars['mine24']['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'] }}" + - from_port: "{{ hostvars['mine24']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['mine24']['container_ip'] }}:{{ hostvars['mine24']['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'] }}" + - from_port: "{{ hostvars['mine24']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['mine24']['container_ip'] }}:{{ hostvars['mine24']['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" + - host: "kbr24" proxmox_config: - vmid: "224" - hostname: "{{ hostvars['ksm14']['host_name'] }}" + vmid: "654" + hostname: "{{ hostvars['kbr24']['host_name'] }}" ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['ksm14']['netif'] }}" + netif: "{{ hostvars['kbr24']['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: "234" - 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"] }}"}' + mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["kbr24"]["default_database_path"] }}"}' onboot: True unprivileged: True validate_certs: False - description: "{{ hostvars['wnd14']['default_network'] }} {{ hostvars['wnd14']['default_node_type'] }}: {{ hostvars['wnd14']['host_name'] }}" + description: "{{ hostvars['kbr24']['default_network'] }} {{ hostvars['kbr24']['default_node_type'] }}: {{ hostvars['kbr24']['host_name'] }}" state: present features: - nesting=1 port_forwards: - - from_port: "{{ hostvars['wnd14']['ansible_port'] }}" - to_host: "{{ hostvars['wnd14']['container_ip'] }}:22" + - from_port: "{{ hostvars['kbr24']['ansible_port'] }}" + to_host: "{{ hostvars['kbr24']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['wnd14']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['kbr24']['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'] }}" + - from_port: "{{ hostvars['kbr24']['default_p2p_port'] }}" + to_host: "{{ hostvars['kbr24']['container_ip'] }}:{{ hostvars['kbr24']['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'] }}" + - from_port: "{{ hostvars['kbr24']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['kbr24']['container_ip'] }}:{{ hostvars['kbr24']['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'] }}" + - from_port: "{{ hostvars['kbr24']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['kbr24']['container_ip'] }}:{{ hostvars['kbr24']['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" + - host: "enc24" proxmox_config: - vmid: "514" - hostname: "{{ hostvars['mint14']['host_name'] }}" + vmid: "604" + hostname: "{{ hostvars['enc24']['host_name'] }}" ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['mint14']['netif'] }}" + netif: "{{ hostvars['enc24']['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: "524" - 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: "534" - 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: "534" - 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: "enc14" - proxmox_config: - vmid: "504" - hostname: "{{ hostvars['enc14']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['enc14']['netif'] }}" - cores: 4 - memory: 8192 + memory: 16384 swap: 8192 password: "{{ default_password }}" disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:100,mp={{ hostvars["enc14"]["default_database_path"] }}"}' + mounts: '{"mp0":"{{ default_storage }}:100,mp={{ hostvars["enc24"]["default_database_path"] }}"}' onboot: True unprivileged: True validate_certs: False - description: "{{ hostvars['enc14']['default_network'] }} {{ hostvars['enc14']['default_node_type'] }}: {{ hostvars['enc14']['host_name'] }}" + description: "{{ hostvars['enc24']['default_network'] }} {{ hostvars['enc24']['default_node_type'] }}: {{ hostvars['enc24']['host_name'] }}" state: present features: - nesting=1 port_forwards: - - from_port: "{{ hostvars['enc14']['ansible_port'] }}" - to_host: "{{ hostvars['enc14']['container_ip'] }}:22" + - from_port: "{{ hostvars['enc24']['ansible_port'] }}" + to_host: "{{ hostvars['enc24']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['enc14']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['enc24']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - - from_port: "{{ hostvars['enc14']['default_p2p_port'] }}" - to_host: "{{ hostvars['enc14']['container_ip'] }}:{{ hostvars['enc14']['default_p2p_port'] }}" + - from_port: "{{ hostvars['enc24']['default_p2p_port'] }}" + to_host: "{{ hostvars['enc24']['container_ip'] }}:{{ hostvars['enc24']['default_p2p_port'] }}" protocol: "tcp" - - from_port: "{{ hostvars['enc14']['default_p2p_port'] }}" - to_host: "{{ hostvars['enc14']['container_ip'] }}:{{ hostvars['enc14']['default_p2p_port'] }}" - protocol: "udp" - - from_port: "{{ hostvars['enc14']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['enc14']['container_ip'] }}:{{ hostvars['enc14']['default_p2p_port_ws'] }}" + - from_port: "{{ hostvars['enc24']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['enc24']['container_ip'] }}:{{ hostvars['enc24']['default_p2p_port_ws'] }}" protocol: "tcp" - - from_port: "{{ hostvars['enc14']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['enc14']['container_ip'] }}:{{ hostvars['enc14']['default_p2p_port_ws'] }}" - protocol: "udp" - - from_port: "{{ hostvars['enc14']['default_p2p_port_wss'] }}" - to_host: "{{ hostvars['enc14']['container_ip'] }}:{{ hostvars['enc14']['default_p2p_port_wss'] }}" + - from_port: "{{ hostvars['enc24']['default_p2p_port_wss'] }}" + to_host: "{{ hostvars['enc24']['container_ip'] }}:{{ hostvars['enc24']['default_p2p_port_wss'] }}" protocol: "tcp" - - from_port: "{{ hostvars['enc14']['default_p2p_port_wss'] }}" - to_host: "{{ hostvars['enc14']['container_ip'] }}:{{ hostvars['enc14']['default_p2p_port_wss'] }}" - protocol: "udp" diff --git a/host_vars/ibp.yaml b/host_vars/ibp.yaml index 3c64f41..c81c894 100644 --- a/host_vars/ibp.yaml +++ b/host_vars/ibp.yaml @@ -7,3 +7,5 @@ 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: "ibp" pinned_service: False + +zabbix_ext_port: 10313 diff --git a/host_vars/kbr24.yaml b/host_vars/kbr24.yaml index c54b082..6a11459 100644 --- a/host_vars/kbr24.yaml +++ b/host_vars/kbr24.yaml @@ -1,8 +1,8 @@ --- ansible_host: "27.131.160.106" container_ip: "192.168.69.45" -ansible_port: "2656" -host_name: "kbr26.rotko.net" +ansible_port: "2654" +host_name: "kbr24.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" @@ -11,14 +11,14 @@ 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['dot26']['container_ip'] }}:{{ hostvars['dot26']['default_rpc_port'] }}" -default_relay_rpc_fallback: "ws://{{ hostvars['dot24']['container_ip'] }}:{{ hostvars['dot24']['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: "endpoint" -default_p2p_port: 33656 -default_p2p_port_ws: 34656 -default_p2p_port_wss: 35656 -default_rpc_port: 9656 -default_secure_rpc_port: 42656 -default_prom_port: 7656 -zabbix_ext_port: 10656 +default_p2p_port: 33654 +default_p2p_port_ws: 34654 +default_p2p_port_wss: 35654 +default_rpc_port: 9654 +default_secure_rpc_port: 42654 +default_prom_port: 7654 +zabbix_ext_port: 10654 diff --git a/host_vars/mine24.yaml b/host_vars/mine24.yaml index a972916..6849a0a 100644 --- a/host_vars/mine24.yaml +++ b/host_vars/mine24.yaml @@ -1,8 +1,8 @@ --- ansible_host: "27.131.160.106" -container_ip: "192.168.69.242" +container_ip: "192.168.69.42" ansible_port: "2624" -host_name: "mine14.rotko.net" +host_name: "mine24.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,9 +14,9 @@ default_network: asset-hub-kusama default_relay_rpc: "ws://{{ hostvars['ksm24']['container_ip'] }}:{{ hostvars['ksm24']['default_rpc_port'] }}" default_relay_rpc_fallback: "ws://{{ hostvars['ksm26']['container_ip'] }}:{{ hostvars['ksm26']['default_rpc_port'] }}" default_database: paritydb -default_node_type: "bootnode" -# default_pruning: 256 -# default_syncmode: warp +default_node_type: "endpoint" +default_pruning: "archive" +default_syncmode: full default_p2p_port: 33624 default_p2p_port_ws: 34624 default_p2p_port_wss: 35624 diff --git a/host_vars/mint23.yaml b/host_vars/mint23.yaml index 18cafef..e904b89 100644 --- a/host_vars/mint23.yaml +++ b/host_vars/mint23.yaml @@ -1,7 +1,7 @@ --- ansible_host: "27.131.160.106" container_ip: "192.168.69.41" -ansible_port: "2513" +ansible_port: "2613" host_name: "mint23.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 }}"}' @@ -12,13 +12,13 @@ default_telemetry_name: "Rotko Networks - {{ host_name.split('.')[0] }} {{ defau default_public_dns: "{{ host_name }}" default_network: asset-hub-polkadot default_relay_rpc: "ws://{{ hostvars['dot23']['container_ip'] }}:{{ hostvars['dot23']['default_rpc_port'] }}" -default_relay_rpc_fallback: "ws://{{ hostvars['dot24']['container_ip'] }}:{{ hostvars['dot24']['default_rpc_port'] }}" +default_relay_rpc_fallback: "ws://{{ hostvars['dot26']['container_ip'] }}:{{ hostvars['dot26']['default_rpc_port'] }}" default_database: paritydb default_node_type: "endpoint" -default_p2p_port: 33513 -default_p2p_port_ws: 34513 -default_p2p_port_wss: 35513 -default_rpc_port: 9513 -default_secure_rpc_port: 42513 -default_prom_port: 7513 -zabbix_ext_port: 10513 +default_p2p_port: 33613 +default_p2p_port_ws: 34613 +default_p2p_port_wss: 35613 +default_rpc_port: 9613 +default_secure_rpc_port: 42613 +default_prom_port: 7613 +zabbix_ext_port: 10613 diff --git a/host_vars/pbr23.yaml b/host_vars/pbr23.yaml new file mode 100644 index 0000000..80022c6 --- /dev/null +++ b/host_vars/pbr23.yaml @@ -0,0 +1,24 @@ +--- +ansible_host: "27.131.160.106" +container_ip: "192.168.69.44" +ansible_port: "2643" +host_name: "pbr23.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" +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-polkadot" +default_relay_rpc: "ws://{{ hostvars['dot23']['container_ip'] }}:{{ hostvars['dot23']['default_rpc_port'] }}" +default_relay_rpc_fallback: "ws://{{ hostvars['dot26']['container_ip'] }}:{{ hostvars['dot26']['default_rpc_port'] }}" +default_database: paritydb +default_node_type: "endpoint" +default_p2p_port: 33643 +default_p2p_port_ws: 34643 +default_p2p_port_wss: 35643 +default_rpc_port: 9643 +default_secure_rpc_port: 42643 +default_prom_port: 7643 +zabbix_ext_port: 10643 diff --git a/host_vars/pch23.yaml b/host_vars/pch23.yaml new file mode 100644 index 0000000..e9d7974 --- /dev/null +++ b/host_vars/pch23.yaml @@ -0,0 +1,24 @@ +--- +ansible_host: "27.131.160.106" +container_ip: "192.168.69.47" +ansible_port: "2673" +host_name: "pch23.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" +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['dot23']['container_ip'] }}:{{ hostvars['dot23']['default_rpc_port'] }}" +default_relay_rpc_fallback: "ws://{{ hostvars['dot26']['container_ip'] }}:{{ hostvars['dot26']['default_rpc_port'] }}" +default_database: paritydb +default_node_type: "endpoint" +default_p2p_port: 33673 +default_p2p_port_ws: 34673 +default_p2p_port_wss: 35673 +default_rpc_port: 9673 +default_secure_rpc_port: 42673 +default_prom_port: 7673 +zabbix_ext_port: 10673 diff --git a/host_vars/pso24.yaml b/host_vars/pso24.yaml new file mode 100644 index 0000000..d4fa282 --- /dev/null +++ b/host_vars/pso24.yaml @@ -0,0 +1,34 @@ +--- +ansible_host: "27.131.160.106" +container_ip: "192.168.69.48" +ansible_port: "2348" +host_name: "pso24.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: "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/8cb10b1404f3e1ec79aa72f88d182f6a3f38b3a3/chain-specs/paseo.raw.json" +default_chain_spec_dl_url: "https://raw.githubusercontent.com/paseo-network/runtimes/main/chain-specs/paseo.raw.json" +default_public_dns: "{{ host_name }}" +default_public_dns_lb: "paseo.rotko.net" +default_public_dns_ibp: "rpc.ibp.network" +default_public_dns_dotters: "rpc.dotters.network" +default_ibp_repository: "git@github.com:GATOTECH-LTD/ibp-ssl" +default_dotters_repository: "git@github.com:senseless/dotters-ssl" +default_node_type: "endpoint" +default_pruning: "archive" +default_database: paritydb +default_syncmode: full +default_p2p_port: 33348 +default_p2p_port_ws: 34348 +default_p2p_port_wss: 35348 +default_rpc_port: 9348 +default_secure_rpc_port: 42348 +default_prom_port: 7348 +zabbix_ext_port: 10348 diff --git a/host_vars/wbr24.yaml b/host_vars/wbr23.yaml similarity index 53% rename from host_vars/wbr24.yaml rename to host_vars/wbr23.yaml index 612ab7f..0a843d4 100644 --- a/host_vars/wbr24.yaml +++ b/host_vars/wbr23.yaml @@ -1,8 +1,8 @@ --- ansible_host: "27.131.160.106" container_ip: "192.168.69.46" -ansible_port: "2666" -host_name: "wbr26.rotko.net" +ansible_port: "2663" +host_name: "wbr23.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" @@ -11,14 +11,14 @@ 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['wnd26']['container_ip'] }}:{{ hostvars['wnd26']['default_rpc_port'] }}" -default_relay_rpc_fallback: "ws://{{ hostvars['wnd24']['container_ip'] }}:{{ hostvars['wnd24']['default_rpc_port'] }}" +default_relay_rpc: "ws://{{ hostvars['wnd23']['container_ip'] }}:{{ hostvars['wnd23']['default_rpc_port'] }}" +default_relay_rpc_fallback: "ws://{{ hostvars['wnd26']['container_ip'] }}:{{ hostvars['wnd26']['default_rpc_port'] }}" default_database: paritydb default_node_type: "endpoint" -default_p2p_port: 33666 -default_p2p_port_ws: 34666 -default_p2p_port_wss: 35666 -default_rpc_port: 9666 -default_secure_rpc_port: 42666 -default_prom_port: 7666 -zabbix_ext_port: 10666 +default_p2p_port: 33663 +default_p2p_port_ws: 34663 +default_p2p_port_wss: 35663 +default_rpc_port: 9663 +default_secure_rpc_port: 42663 +default_prom_port: 7663 +zabbix_ext_port: 10663 diff --git a/host_vars/wch23.yaml b/host_vars/wch23.yaml new file mode 100644 index 0000000..4eda84e --- /dev/null +++ b/host_vars/wch23.yaml @@ -0,0 +1,24 @@ +--- +ansible_host: "27.131.160.106" +container_ip: "192.168.69.49" +ansible_port: "2693" +host_name: "wch23.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" +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['wnd23']['container_ip'] }}:{{ hostvars['wnd23']['default_rpc_port'] }}" +default_relay_rpc_fallback: "ws://{{ hostvars['wnd26']['container_ip'] }}:{{ hostvars['wnd26']['default_rpc_port'] }}" +default_database: paritydb +default_node_type: "endpoint" +default_p2p_port: 33693 +default_p2p_port_ws: 34693 +default_p2p_port_wss: 35693 +default_rpc_port: 9693 +default_secure_rpc_port: 42693 +default_prom_port: 7693 +zabbix_ext_port: 10693 diff --git a/host_vars/wmint23.yaml b/host_vars/wmint23.yaml index 7a9e88d..ef6562d 100644 --- a/host_vars/wmint23.yaml +++ b/host_vars/wmint23.yaml @@ -1,7 +1,7 @@ --- ansible_host: "27.131.160.106" container_ip: "192.168.69.43" -ansible_port: "2533" +ansible_port: "2633" host_name: "wmint13.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 }}"}' @@ -12,13 +12,13 @@ default_telemetry_name: "Rotko Networks - {{ host_name.split('.')[0] }} {{ defau default_public_dns: "{{ host_name }}" default_network: "asset-hub-westend" default_relay_rpc: "ws://{{ hostvars['wnd23']['container_ip'] }}:{{ hostvars['wnd23']['default_rpc_port'] }}" -default_relay_rpc_fallback: "ws://{{ hostvars['wnd24']['container_ip'] }}:{{ hostvars['wnd24']['default_rpc_port'] }}" +default_relay_rpc_fallback: "ws://{{ hostvars['wnd26']['container_ip'] }}:{{ hostvars['wnd26']['default_rpc_port'] }}" default_database: paritydb default_node_type: "endpoint" -default_p2p_port: 33533 -default_p2p_port_ws: 34533 -default_p2p_port_wss: 35533 -default_rpc_port: 9533 -default_secure_rpc_port: 42533 -default_prom_port: 7533 -zabbix_ext_port: 10533 +default_p2p_port: 33633 +default_p2p_port_ws: 34633 +default_p2p_port_wss: 35633 +default_rpc_port: 9633 +default_secure_rpc_port: 42633 +default_prom_port: 7633 +zabbix_ext_port: 10633