summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dan/ele-gwmur.yml8
-rw-r--r--inventory/host_vars/ch-atlas.yml1
-rw-r--r--inventory/host_vars/ele-gwmur.yml35
-rw-r--r--inventory/hosts.ini2
4 files changed, 46 insertions, 0 deletions
diff --git a/dan/ele-gwmur.yml b/dan/ele-gwmur.yml
new file mode 100644
index 00000000..b8ca603e
--- /dev/null
+++ b/dan/ele-gwmur.yml
@@ -0,0 +1,8 @@
+---
+- name: Basic Setup
+ hosts: ele-gwmur
+ roles:
+ - role: base
+ - role: sshd
+ - role: zsh
+ - role: wireguard/base
diff --git a/inventory/host_vars/ch-atlas.yml b/inventory/host_vars/ch-atlas.yml
index e9771732..cf1e2303 100644
--- a/inventory/host_vars/ch-atlas.yml
+++ b/inventory/host_vars/ch-atlas.yml
@@ -15,6 +15,7 @@ vm_host:
offsets:
ch-keyserver: 3
ch-testvm: 4
+ ele-gwmur: 5
s2-k8s-test0: 7
s2-k8s-test1: 8
r3-vex2: 11
diff --git a/inventory/host_vars/ele-gwmur.yml b/inventory/host_vars/ele-gwmur.yml
new file mode 100644
index 00000000..1674540b
--- /dev/null
+++ b/inventory/host_vars/ele-gwmur.yml
@@ -0,0 +1,35 @@
+---
+apt_repo_provider: ffgraz
+
+vm_host: ch-atlas
+
+install:
+ host: "{{ vm_host }}"
+ mem: 1024
+ numcpu: 1
+ disks:
+ primary: /dev/sda
+ scsi:
+ sda:
+ type: lvm
+ vg: "{{ hostvars[vm_host].host_name }}"
+ lv: "{{ inventory_hostname }}"
+ size: 5g
+ interfaces:
+ - bridge: br-public
+ name: primary0
+ mac: 52:54:00:43:f1:35
+ autostart: False
+
+network:
+ nameservers: "{{ hostvars[vm_host].vm_host.network.dns }}"
+ domain: "{{ host_domain }}"
+ systemd_link:
+ interfaces: "{{ install.interfaces }}"
+ primary:
+ interface: primary0
+ ip: "{{ hostvars[vm_host].vm_host.network.bridges.public.prefix | ipaddr(hostvars[vm_host].vm_host.network.bridges.public.offsets[inventory_hostname]) | ipaddr('address') }}"
+ mask: "{{ hostvars[vm_host].vm_host.network.bridges.public.prefix | ipaddr('netmask') }}"
+ gateway: "{{ hostvars[vm_host].vm_host.network.bridges.public.gateway }}"
+ prefix6: "{{ hostvars[vm_host].vm_host.network.bridges.public.prefix6 | ipaddr(hostvars[vm_host].vm_host.network.bridges.public.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
+ gateway6: "{{ hostvars[vm_host].vm_host.network.bridges.public.gateway6 }}"
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index 3f55f5a1..a74d4744 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -187,6 +187,7 @@ ele-lt host_name=liquidtruth ansible_port=222
ele-laptop host_name=elevatop
ele-orpheum
ele-tub
+ele-gwmur
[elevate:children]
ele-ap
@@ -234,6 +235,7 @@ sk-testvm
sk-torrent
ch-mimas
s2-k8s-test[0:4]
+ele-gwmur
[hroot]