aboutsummaryrefslogtreecommitdiffstats
path: root/inventory/prod
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-05-13 00:13:57 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-05-16 18:42:27 +0300
commitb5860daf11ac353049cb1654b9414a129e5cfb96 (patch)
tree87ed89711e4f0e85ace0a97fa123199152c67302 /inventory/prod
parent4715a28fdcd87440400d17154bfa361d99db29cc (diff)
Rework
Diffstat (limited to 'inventory/prod')
-rw-r--r--inventory/prod/hosts.yml22
l---------inventory/prod/jails.py1
2 files changed, 23 insertions, 0 deletions
diff --git a/inventory/prod/hosts.yml b/inventory/prod/hosts.yml
new file mode 100644
index 0000000..eff5ecb
--- /dev/null
+++ b/inventory/prod/hosts.yml
@@ -0,0 +1,22 @@
+all:
+ children:
+ servers:
+ hosts:
+ pursotin:
+ host_roles:
+ - host
+ - host_prod
+ nic_lan: igc0
+ nic_wan: igc1
+ arch: amd64/amd64
+ lan_ipv4_gateway: "192.168.0.1"
+ lan_ipv4_cidr: "192.168.0.10/16"
+ is_prod: true
+ jails:
+ vars:
+ ansible_jail_host: pursotin
+ jail_delegate_host: pursotin
+ jail_lan_cidr: "192.168.2.0/16"
+ jail_lan_offset: 0
+ ssl_enabled: true
+ is_prod: true
diff --git a/inventory/prod/jails.py b/inventory/prod/jails.py
new file mode 120000
index 0000000..d036389
--- /dev/null
+++ b/inventory/prod/jails.py
@@ -0,0 +1 @@
+../jails.py \ No newline at end of file