diff options
-rw-r--r-- | chaos-at-home/r3-cccamp19-flora.yml | 7 | ||||
-rw-r--r-- | inventory/group_vars/realraum/network.yml | 10 | ||||
-rw-r--r-- | inventory/host_vars/r3-cccamp19-flora.yml | 28 | ||||
-rw-r--r-- | inventory/hosts.ini | 3 |
4 files changed, 45 insertions, 3 deletions
diff --git a/chaos-at-home/r3-cccamp19-flora.yml b/chaos-at-home/r3-cccamp19-flora.yml new file mode 100644 index 00000000..09f4f74d --- /dev/null +++ b/chaos-at-home/r3-cccamp19-flora.yml @@ -0,0 +1,7 @@ +--- +- name: Basic Setup + hosts: r3-cccamp19-flora + roles: + - role: base + - role: sshd + - role: zsh 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] |