Add new host and move factorio
This commit is contained in:
parent
b20a2a67a5
commit
09c153a4e4
4 changed files with 23 additions and 5 deletions
|
@ -7,6 +7,14 @@ hosts = {
|
|||
server_type = "cx32"
|
||||
datacenter = "fsn1-dc14"
|
||||
},
|
||||
"node002" = {
|
||||
hostname = "node002"
|
||||
rdns = "node002.serguzim.net"
|
||||
provider = "hetzner"
|
||||
image = "debian-12"
|
||||
server_type = "cx22"
|
||||
datacenter = "fsn1-dc14"
|
||||
},
|
||||
"node003" = {
|
||||
hostname = "node003"
|
||||
rdns = "mail.serguzim.me"
|
||||
|
|
|
@ -3,6 +3,7 @@ all:
|
|||
serguzim_net:
|
||||
hosts:
|
||||
node001:
|
||||
node002:
|
||||
node003:
|
||||
hosts:
|
||||
local-dev:
|
||||
|
@ -21,6 +22,19 @@ all:
|
|||
hc_url: "{{ opentofu.healthchecksio.backup.node001.ping_url }}"
|
||||
gatus_token: "{{ vault_hosts.node001.backup.gatus_token }}"
|
||||
|
||||
node002:
|
||||
ansible_host: "{{ opentofu.hosts.node002.fqdn_vpn }}"
|
||||
ansible_port: "{{ vault_hosts.node002.ansible_port }}"
|
||||
ansible_user: "{{ vault_hosts.node002.ansible_user }}"
|
||||
interactive_user: "{{ vault_hosts.node002.interactive_user }}"
|
||||
host_vpn:
|
||||
domain: "{{ opentofu.hosts.node002.fqdn_vpn }}"
|
||||
ip: "{{ opentofu.hosts.node002.ipv4_address_vpn }}"
|
||||
host_backup:
|
||||
hc_uid: "{{ opentofu.healthchecksio.backup.node002.id }}"
|
||||
hc_url: "{{ opentofu.healthchecksio.backup.node002.ping_url }}"
|
||||
gatus_token: "{{ vault_hosts.node002.backup.gatus_token }}"
|
||||
|
||||
node003:
|
||||
ansible_host: "{{ opentofu.hosts.node003.fqdn_vpn }}"
|
||||
ansible_port: "{{ vault_hosts.node003.ansible_port }}"
|
||||
|
|
|
@ -3,10 +3,6 @@ factorio_port: 34197
|
|||
factorio_uid: 845
|
||||
factorio_gid: 845
|
||||
|
||||
factorio_svc:
|
||||
domain: "{{ all_services | service_get_domain(role_name) }}"
|
||||
port: "{{ factorio_port }}"
|
||||
|
||||
factorio_env:
|
||||
PORT: "{{ factorio_port }}"
|
||||
USERNAME: "{{ vault_factorio.username }}"
|
||||
|
|
|
@ -129,7 +129,7 @@ services = {
|
|||
},
|
||||
|
||||
"factorio" = {
|
||||
host = "node001"
|
||||
host = "node002"
|
||||
dns = [{
|
||||
domain = "factorio.serguzim.me"
|
||||
}]
|
||||
|
|
Loading…
Reference in a new issue