summaryrefslogtreecommitdiff
path: root/inventory/host_vars/r3-cccamp19-feedcode.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-08-22 12:02:52 +0200
committerChristian Pointner <equinox@spreadspace.org>2019-08-22 12:02:52 +0200
commitd65c18df8fe4588a2cbf6cc3c19a2f715bb77143 (patch)
tree69f76a755dbcde6b0aa77942cc2a0758e7fcf512 /inventory/host_vars/r3-cccamp19-feedcode.yml
parentadded r3-cccamp19-sw2 (diff)
cccam19: added feedcode vm
Diffstat (limited to 'inventory/host_vars/r3-cccamp19-feedcode.yml')
-rw-r--r--inventory/host_vars/r3-cccamp19-feedcode.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/inventory/host_vars/r3-cccamp19-feedcode.yml b/inventory/host_vars/r3-cccamp19-feedcode.yml
new file mode 100644
index 00000000..cbe63876
--- /dev/null
+++ b/inventory/host_vars/r3-cccamp19-feedcode.yml
@@ -0,0 +1,31 @@
+---
+vm_host: helene
+
+install:
+ host: "{{ vm_host }}"
+ mem: 6144
+ numcpu: 4
+ disks:
+ primary: /dev/sda
+ scsi:
+ sda:
+ vg: "{{ hostvars[vm_host].host_name }}"
+ lv: "{{ inventory_hostname }}"
+ size: 42g
+ 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 }}"