Skip to content

Commit

Permalink
fix: update penumbra container name
Browse files Browse the repository at this point in the history
  • Loading branch information
Catopish committed Dec 24, 2024
1 parent b5f2ad0 commit 3abe328
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bkk07
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ bkk50
hdx27

[penumbra]
penumbra02
penumbra-02

[polkadot]
rpc-polkadot-02
Expand Down
26 changes: 26 additions & 0 deletions host_vars/bkk06.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2043,3 +2043,29 @@ lxc_nodes:
- from_port: "{{ hostvars['rpc-asset-hub-paseo-01']['transition_bootnode_p2p_port_wss'] }}"
to_host: "{{ hostvars['rpc-asset-hub-paseo-01']['container_ip'] }}:{{ hostvars['rpc-asset-hub-paseo-01']['transition_bootnode_p2p_port_wss'] }}"
protocol: "tcp"
- host: "penumbra-02"
proxmox_config:
vmid: "1102"
hostname: "{{ hostvars['penumbra-02']['host_name'] }}"
ostemplate: "local:vztmpl/{{ default_container_template }}"
netif: "{{ hostvars['penumbra-02']['netif'] }}"
cores: 4
memory: 8192
swap: 8192
password: "{{ default_password }}"
disk: "{{ zfs_storage }}:20"
mounts: '{"mp0":"{{ zfs_storage }}:200,mp={{ hostvars["penumbra-02"]["default_database_path"] }}"}'
onboot: True
unprivileged: True
validate_certs: False
description: "{{ hostvars['penumbra-02']['default_network'] }} {{ hostvars['penumbra-02']['default_node_type'] }}: {{ hostvars['penumbra-02']['host_name'] }}"
state: present
features:
- nesting=1
port_forwards:
- from_port: "{{ hostvars['penumbra-02']['ansible_port'] }}"
to_host: "{{ hostvars['penumbra-02']['container_ip'] }}:{{ ssh_port }}"
protocol: "tcp"
- from_port: "{{ hostvars['penumbra-02']['default_cometbft_p2p_port'] }}"
to_host: "{{ hostvars['penumbra-02']['container_ip'] }}:{{ hostvars['penumbra-02']['default_cometbft_p2p_port'] }}"
protocol: "tcp"
2 changes: 1 addition & 1 deletion host_vars/penumbra02.yaml → host_vars/penumbra-02.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ansible_host: "160.22.181.181"
container_ip: "192.168.77.82"
ansible_port: 2482
host_name: "penumbra02.ct.rotko.net"
host_name: "penumbra-02.ct.rotko.net"
host_timezone: "Asia/Bangkok"
netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/8,bridge={{ default_nat_device }}"}'
role: "penumbra"
Expand Down

0 comments on commit 3abe328

Please sign in to comment.