summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chaos-at-home/r3-0x10.yml9
-rw-r--r--inventory/group_vars/vmhost-sk-2019vm/vars.yml2
-rw-r--r--inventory/host_vars/r3-0x10.yml32
-rw-r--r--inventory/hosts.ini3
4 files changed, 46 insertions, 0 deletions
diff --git a/chaos-at-home/r3-0x10.yml b/chaos-at-home/r3-0x10.yml
new file mode 100644
index 00000000..c5a03cc4
--- /dev/null
+++ b/chaos-at-home/r3-0x10.yml
@@ -0,0 +1,9 @@
+---
+- name: Basic Setup
+ hosts: r3-0x10
+ roles:
+ - role: apt-repo/base
+ - role: core/base
+ - role: core/sshd/base
+ - role: core/zsh
+ - role: core/ntp
diff --git a/inventory/group_vars/vmhost-sk-2019vm/vars.yml b/inventory/group_vars/vmhost-sk-2019vm/vars.yml
index c24e997b..a8849590 100644
--- a/inventory/group_vars/vmhost-sk-2019vm/vars.yml
+++ b/inventory/group_vars/vmhost-sk-2019vm/vars.yml
@@ -13,6 +13,7 @@ vm_host:
sk-torrent: 136
ele-emc-ctrl: 137
ele-gwhetzner: 138
+ r3-0x10: 140
sgg-icecast: 141
ch-mimas-legacy: 142
sk-testvm: 253
@@ -25,6 +26,7 @@ vm_host:
sk-torrent: 0
ele-emc-ctrl: 1
ele-gwhetzner: 2
+ r3-0x10: 4
sgg-icecast: 5
ch-mimas-legacy: 6
sk-testvm: 7
diff --git a/inventory/host_vars/r3-0x10.yml b/inventory/host_vars/r3-0x10.yml
new file mode 100644
index 00000000..e1520247
--- /dev/null
+++ b/inventory/host_vars/r3-0x10.yml
@@ -0,0 +1,32 @@
+---
+install:
+ vm:
+ memory: 1G
+ numcpus: 1
+ autostart: False
+ disks:
+ primary: /dev/sda
+ scsi:
+ sda:
+ type: zfs
+ name: root
+ size: 10g
+ properties:
+ 'syncoid:sync': 'false'
+ interfaces:
+ - bridge: br-public
+ name: primary0
+
+network:
+ nameservers: "{{ vm_host.network.dns }}"
+ domain: "{{ host_domain }}"
+ systemd_link:
+ interfaces: "{{ install.interfaces }}"
+ primary: &_network_primary_
+ name: primary0
+ address: "{{ vm_host.network.bridges.public.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.offsets[inventory_hostname]) }}"
+ gateway: "{{ vm_host.network.bridges.public.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.offsets[vm_host.name]) | ansible.utils.ipaddr('address') }}"
+ template: overlay
+ overlay: "{{ (vm_host.network.bridges.public.overlays.default.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.overlays.default.offsets[inventory_hostname])).split('/')[0] }}"
+ interfaces:
+ - *_network_primary_
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index 60321d60..671ed538 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -105,6 +105,7 @@ ansible_port=22000
[realraum]
r3-vex2 host_name=vex2
+r3-0x10 host_name="'0x10'"
[funkfeuer:vars]
@@ -384,6 +385,7 @@ ch-mimas-legacy
ele-gwhetzner
ele-emc-ctrl
sgg-icecast
+r3-0x10
[vmhost-sk-2019vm]
sk-2019vm
[vmhost-sk-2019vm:children]
@@ -497,6 +499,7 @@ ele-emc-ctrl
sk-testvm
sk-torrent
sgg-icecast
+r3-0x10
[hetzner:children]
hroot