summaryrefslogtreecommitdiff
path: root/inventory/host_vars
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-08-22 20:38:17 +0200
committerChristian Pointner <equinox@spreadspace.org>2019-08-22 20:38:17 +0200
commitf043c0dee8aefd0aa2011ccbebe6df899cd8ef48 (patch)
tree93ecb5c9b3c083423da6ab464b430ba8bc467555 /inventory/host_vars
parentcccam19: added feedcode vm (diff)
cccamp19: added verr vm
Diffstat (limited to 'inventory/host_vars')
-rw-r--r--inventory/host_vars/ch-pan.yml1
-rw-r--r--inventory/host_vars/r3-cccamp19-verr.yml34
2 files changed, 35 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-pan.yml b/inventory/host_vars/ch-pan.yml
index 9c7324ef..e9bfaf4c 100644
--- a/inventory/host_vars/ch-pan.yml
+++ b/inventory/host_vars/ch-pan.yml
@@ -6,5 +6,6 @@ dyndns:
ele-media: elemedia
r3-cccamp19-gw: r3-cccamp19-gw
r3-cccamp19-flora: r3-cccamp19-flora
+ r3-cccamp19-verr: r3-cccamp19-verr
dione: r3-cccamp19-dione
helene: r3-cccamp19-helene
diff --git a/inventory/host_vars/r3-cccamp19-verr.yml b/inventory/host_vars/r3-cccamp19-verr.yml
new file mode 100644
index 00000000..511585c0
--- /dev/null
+++ b/inventory/host_vars/r3-cccamp19-verr.yml
@@ -0,0 +1,34 @@
+---
+vm_host: helene
+
+install:
+ host: "{{ vm_host }}"
+ mem: 4096
+ numcpu: 4
+ disks:
+ primary: /dev/sda
+ scsi:
+ sda:
+ vg: "{{ hostvars[vm_host].host_name }}"
+ lv: "{{ inventory_hostname }}"
+ size: 20g
+ interfaces:
+ - bridge: lan-br
+ name: lan0
+ - bridge: camp19-br
+ name: camp0
+ autostart: True
+
+network:
+ nameservers: "{{ network_zones.lan.dns }}"
+ domain: "{{ host_domain }}"
+ systemd_link:
+ interfaces: "{{ install.interfaces }}"
+ primary:
+ interface: lan0
+ ip: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address') }}"
+ mask: "{{ network_zones.lan.prefix | ipaddr('netmask') }}"
+ gateway: "{{ network_zones.lan.gw }}"
+
+dyndns:
+ server: ch-pan