Skip to content

Commit

Permalink
update host variables
Browse files Browse the repository at this point in the history
  • Loading branch information
hitchhooker committed Feb 3, 2024
1 parent 0cb6c23 commit 17f1f11
Show file tree
Hide file tree
Showing 21 changed files with 749 additions and 475 deletions.
18 changes: 8 additions & 10 deletions bkk03
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -46,7 +46,5 @@ unmanaged
[referrence_nodes]
dot14
dot24
ksm14
ksm24
wnd14
wnd24
30 changes: 14 additions & 16 deletions bkk04
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -55,3 +47,9 @@ bkk04
hardware
proxmox_nodes
unmanaged

[referrence_nodes]
dot14
dot24
wnd14
wnd24
26 changes: 13 additions & 13 deletions bkk06
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
220 changes: 0 additions & 220 deletions host_vars/bkk03.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
...
Loading

0 comments on commit 17f1f11

Please sign in to comment.