summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-11-09 03:44:38 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-11-11 12:52:53 +0100
commit22a81e86508821422943703dd42a8ff3a2709ba5 (patch)
treede716f4beb5eba6a8e661d96e398944851f9bcef /inventory
parentfinalize harmonization of desktop and server preseed files (diff)
add test servers
Diffstat (limited to 'inventory')
-rw-r--r--inventory/group_vars/all/vars.yml13
-rw-r--r--inventory/group_vars/chaos-at-home/network.yml5
-rw-r--r--inventory/group_vars/chaos-at-home/vars.yml2
-rw-r--r--inventory/host_vars/ch-calypso.yml22
-rw-r--r--inventory/host_vars/ch-dione.yml29
-rw-r--r--inventory/host_vars/ch-helene.yml21
-rw-r--r--inventory/host_vars/ch-telesto.yml54
-rw-r--r--inventory/host_vars/ch-thetys.yml20
-rw-r--r--inventory/hosts.ini6
9 files changed, 172 insertions, 0 deletions
diff --git a/inventory/group_vars/all/vars.yml b/inventory/group_vars/all/vars.yml
index 540c4a3e..b92ca4d5 100644
--- a/inventory/group_vars/all/vars.yml
+++ b/inventory/group_vars/all/vars.yml
@@ -60,3 +60,16 @@ apt_repo_providers:
ubuntu:
host: debian.ffgraz.net
path: /ubuntu
+ inode:
+ debian:
+ host: debian.inode.at
+ path: /debian
+ debian_security:
+ host: security.debian.org
+ path: /debian-security
+ debian_archive:
+ host: archive.debian.org
+ path: /debian
+ ubuntu:
+ host: ubuntu.inode.at
+ path: /ubuntu
diff --git a/inventory/group_vars/chaos-at-home/network.yml b/inventory/group_vars/chaos-at-home/network.yml
index 67950f94..ea7b4958 100644
--- a/inventory/group_vars/chaos-at-home/network.yml
+++ b/inventory/group_vars/chaos-at-home/network.yml
@@ -13,6 +13,11 @@ network_zones:
offsets:
ch-equinox-ws: 1
ch-mc: 10
+ ch-telesto: 20
+ ch-calypso: 21
+ ch-thetys: 22
+ ch-dione: 23
+ ch-helene: 24
ch-prometheus: 200
ch-gw-lan: 254
#############
diff --git a/inventory/group_vars/chaos-at-home/vars.yml b/inventory/group_vars/chaos-at-home/vars.yml
index b0322c81..ac999612 100644
--- a/inventory/group_vars/chaos-at-home/vars.yml
+++ b/inventory/group_vars/chaos-at-home/vars.yml
@@ -5,3 +5,5 @@ admin_users_group:
- equinox
acmetool_account_email: admin@chaos-at-home.org
+
+apt_repo_provider: inode
diff --git a/inventory/host_vars/ch-calypso.yml b/inventory/host_vars/ch-calypso.yml
new file mode 100644
index 00000000..d565c6d8
--- /dev/null
+++ b/inventory/host_vars/ch-calypso.yml
@@ -0,0 +1,22 @@
+---
+install:
+ efi: yes
+ disks:
+ primary: software-raid
+ raid:
+ level: 1
+ members:
+ - /dev/disk/by-id/ata-SAMSUNG_HD103UJ_S1PVJDWQ720805
+ - /dev/disk/by-id/ata-SAMSUNG_HD103UJ_S1PVJDWQ720811
+ system_lvm:
+ size: 20G
+
+network:
+ nameservers: "{{ network_zones.lan.dns }}"
+ domain: "{{ host_domain }}"
+ primary: &_network_primary_
+ name: eno1
+ address: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
+ gateway: "{{ network_zones.lan.gateway }}"
+ interfaces:
+ - *_network_primary_
diff --git a/inventory/host_vars/ch-dione.yml b/inventory/host_vars/ch-dione.yml
new file mode 100644
index 00000000..9a245a39
--- /dev/null
+++ b/inventory/host_vars/ch-dione.yml
@@ -0,0 +1,29 @@
+---
+preseed_language: de
+preseed_country: AT
+preseed_locales:
+ - de_AT.UTF-8
+ - de_DE.UTF-8
+ - en_US.UTF-8
+ - en_GB.UTF-8
+
+install:
+ efi: true
+ disks:
+ primary: /dev/disk/by-id/nvme-SAMSUNG_MZVPW256HEGL-00000_S346NY0HC29501
+ kernel_cmdline:
+ - "consoleblank=0"
+ - "nomodeset"
+
+network:
+ nameservers: "{{ network_zones.lan.dns }}"
+ domain: "{{ host_domain }}"
+ primary: &_network_primary_
+ name: eno1
+ address: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
+ gateway: "{{ network_zones.lan.gateway }}"
+ interfaces:
+ - *_network_primary_
+
+admin_users_host:
+ - equinox
diff --git a/inventory/host_vars/ch-helene.yml b/inventory/host_vars/ch-helene.yml
new file mode 100644
index 00000000..f7db013e
--- /dev/null
+++ b/inventory/host_vars/ch-helene.yml
@@ -0,0 +1,21 @@
+---
+install:
+ efi: true
+ disks:
+ primary: /dev/disk/by-id/nvme-SAMSUNG_MZVPW256HEGL-00000_S346NB0J803346
+ kernel_cmdline:
+ - "consoleblank=0"
+ - "nomodeset"
+
+network:
+ nameservers: "{{ network_zones.lan.dns }}"
+ domain: "{{ host_domain }}"
+ primary: &_network_primary_
+ name: eno1
+ address: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
+ gateway: "{{ network_zones.lan.gateway }}"
+ interfaces:
+ - *_network_primary_
+
+admin_users_host:
+ - equinox
diff --git a/inventory/host_vars/ch-telesto.yml b/inventory/host_vars/ch-telesto.yml
new file mode 100644
index 00000000..6dd7c014
--- /dev/null
+++ b/inventory/host_vars/ch-telesto.yml
@@ -0,0 +1,54 @@
+---
+preseed_language: de
+preseed_country: AT
+preseed_locales:
+ - de_AT.UTF-8
+ - de_DE.UTF-8
+ - en_US.UTF-8
+ - en_GB.UTF-8
+
+preseed_no_splash: no
+
+preseed_install_tasks:
+ - xubuntu-desktop
+
+
+install:
+ efi: yes
+ disks:
+ primary: software-raid
+ raid:
+ level: 1
+ members:
+ - /dev/disk/by-id/ata-SAMSUNG_HD103UJ_S1PVJDWQ720808
+ - /dev/disk/by-id/ata-SAMSUNG_HD103UJ_S1PVJDWQ720810
+ system_lvm:
+ size: 50G
+ volumes:
+ - name: root
+ size: 20G
+ filesystem: ext4
+ mountpoint: /
+ - name: var+log
+ size: 768M
+ filesystem: ext4
+ mountpoint: /var/log
+ mount_options:
+ - noatime
+ - nodev
+ - noexec
+
+network:
+ nameservers: "{{ network_zones.lan.dns }}"
+ domain: "{{ host_domain }}"
+ primary: &_network_primary_
+ name: eno1
+ address: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
+ gateway: "{{ network_zones.lan.gateway }}"
+ interfaces:
+ - *_network_primary_
+
+base_modules_blacklist: "{{ base_modules_blacklist_all_but_sound }}"
+
+admin_users_host:
+ - equinox
diff --git a/inventory/host_vars/ch-thetys.yml b/inventory/host_vars/ch-thetys.yml
new file mode 100644
index 00000000..e0d48b1b
--- /dev/null
+++ b/inventory/host_vars/ch-thetys.yml
@@ -0,0 +1,20 @@
+---
+install:
+ efi: true
+ disks:
+ primary: "/dev/disk/by-id/ata-TS32GMSA370_B475040161"
+ kernel_cmdline:
+ - "consoleblank=0"
+
+network:
+ nameservers: "{{ network_zones.lan.dns }}"
+ domain: "{{ host_domain }}"
+ primary: &_network_primary_
+ name: eno1
+ address: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
+ gateway: "{{ network_zones.lan.gateway }}"
+ interfaces:
+ - *_network_primary_
+
+admin_users_host:
+ - equinox
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index fb5672ee..352dd875 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -33,6 +33,12 @@ ch-testvm host_name=testvm
ch-mimas host_name=mimas
ch-mimas2 host_name=mimas
+ch-telesto host_name=telesto
+ch-calypso host_name=calypso
+ch-thetys host_name=thetys
+ch-dione host_name=dione
+ch-helene host_name=helene
+
[chaos-at-home:children]
mz-chaos-at-home
chaos-at-home-switches