From b5860daf11ac353049cb1654b9414a129e5cfb96 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Wed, 13 May 2026 00:13:57 +0300 Subject: Rework --- inventory/prod/hosts.yml | 22 ++++++++++++++++++++++ inventory/prod/jails.py | 1 + 2 files changed, 23 insertions(+) create mode 100644 inventory/prod/hosts.yml create mode 120000 inventory/prod/jails.py (limited to 'inventory/prod') 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 -- cgit v1.3