summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-08-21 12:47:03 +0200
committerChristian Pointner <equinox@spreadspace.org>2019-08-21 12:47:03 +0200
commit5e0f4bc26e1ca2094aa929ae9528b4026e2daf48 (patch)
tree90b3046e10cf39299c37a24d21b5325c7e50ca70 /inventory
parentadded r3-cccamp19-sw0, some fixes for dellos6 roles (diff)
added vm for flora @ camp19
Diffstat (limited to 'inventory')
-rw-r--r--inventory/group_vars/realraum/network.yml10
-rw-r--r--inventory/host_vars/r3-cccamp19-flora.yml28
-rw-r--r--inventory/hosts.ini3
3 files changed, 38 insertions, 3 deletions
diff --git a/inventory/group_vars/realraum/network.yml b/inventory/group_vars/realraum/network.yml
index 9cb753e7..5a6b4e7e 100644
--- a/inventory/group_vars/realraum/network.yml
+++ b/inventory/group_vars/realraum/network.yml
@@ -1,12 +1,15 @@
---
network_zones:
- cccamp19:
+ camp19:
vlan: 19
- protected:
+ lan:
vlan: 126
prefix: 192.168.126.0/24
offsets:
+ dione: 200
+ helene: 201
+ r3-cccamp19-flora: 220
r3-cccamp19-gw: 254
dhcp:
start: 1
@@ -16,5 +19,8 @@ network_zones:
vlan: 41
prefix: 192.168.41.0/24
offsets:
+ dione: 100
+ helene: 101
r3-cccamp19-sw0: 200
+ r3-cccamp19-sw1: 201
r3-cccamp19-gw: 254
diff --git a/inventory/host_vars/r3-cccamp19-flora.yml b/inventory/host_vars/r3-cccamp19-flora.yml
new file mode 100644
index 00000000..f637fd69
--- /dev/null
+++ b/inventory/host_vars/r3-cccamp19-flora.yml
@@ -0,0 +1,28 @@
+---
+vm_host: helene
+install_dhcp: true
+
+install:
+ host: "{{ vm_host }}"
+ mem: 4096
+ numcpu: 4
+ disks:
+ primary: /dev/sda
+ scsi:
+ sda:
+ vg: "{{ hostvars[vm_host].host_name }}"
+ lv: "{{ inventory_hostname }}"
+ size: 10g
+ interfaces:
+ - bridge: camp19-br
+ name: camp0
+ - bridge: lan-br
+ name: lan0
+ autostart: True
+
+network:
+ domain: "{{ host_domain }}"
+ systemd_link:
+ interfaces: "{{ install.interfaces }}"
+ primary:
+ interface: camp0
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index b14e833f..b4219f0b 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -57,7 +57,7 @@ ansible_port=22000
[realraum]
r3-vex2 host_name=vex2
r3-cccamp19-sw0 ansible_host=192.168.41.200 ansible_port=22
-
+r3-cccamp19-flora host_name=flora host_domain=camp.realraum.at
###############################
# environment: spreadspace
@@ -175,6 +175,7 @@ ch-testvm
ch-gw-lan
ch-jump
r3-vex2
+r3-cccamp19-flora
[hroot]