diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-06-21 20:56:13 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-06-21 20:56:13 +0200 |
commit | 301e6e0c861379284508209b36a6c8b23ab62f54 (patch) | |
tree | 34edb272342f9ec83d22d01199a52b9b62cddc90 /inventory/host_vars | |
parent | address vs prefix (diff) |
move r3-cccamp19 stuff to _graveyard_, introduce new kvm groups
Diffstat (limited to 'inventory/host_vars')
-rw-r--r-- | inventory/host_vars/r3-cccamp19-av.yml | 38 | ||||
-rw-r--r-- | inventory/host_vars/r3-cccamp19-dione.yml | 18 | ||||
-rw-r--r-- | inventory/host_vars/r3-cccamp19-feedcode.yml | 33 | ||||
-rw-r--r-- | inventory/host_vars/r3-cccamp19-flora.yml | 38 | ||||
-rw-r--r-- | inventory/host_vars/r3-cccamp19-gw.yml | 3 | ||||
-rw-r--r-- | inventory/host_vars/r3-cccamp19-helene.yml | 18 | ||||
-rw-r--r-- | inventory/host_vars/r3-cccamp19-sw0.yml | 23 | ||||
-rw-r--r-- | inventory/host_vars/r3-cccamp19-verr.yml | 38 |
8 files changed, 0 insertions, 209 deletions
diff --git a/inventory/host_vars/r3-cccamp19-av.yml b/inventory/host_vars/r3-cccamp19-av.yml deleted file mode 100644 index 40524574..00000000 --- a/inventory/host_vars/r3-cccamp19-av.yml +++ /dev/null @@ -1,38 +0,0 @@ ---- -_vm_host_: helene - -install: - vm: - host: "{{ _vm_host_ }}" - mem: 4096 - numcpu: 4 - autostart: True - disks: - primary: /dev/sda - scsi: - sda: - type: lvm - vg: "{{ hostvars[_vm_host_].host_name }}" - lv: "{{ inventory_hostname }}" - size: 10g - interfaces: - - bridge: lan-br - name: lan0 - - bridge: camp19-br - name: camp0 - -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.gateway }}" - -install_playbook: r3-cccamp19_vm - -dyndns: - server: ch-pan diff --git a/inventory/host_vars/r3-cccamp19-dione.yml b/inventory/host_vars/r3-cccamp19-dione.yml deleted file mode 100644 index 47195b1f..00000000 --- a/inventory/host_vars/r3-cccamp19-dione.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -install_interface: eno1 -install_dhcp: true - -install: - efi: true - disks: - primary: /dev/disk/by-id/nvme-SAMSUNG_MZVPW256HEGL-00000_S346NY0HC29501 - -network: - domain: camp.realraum.at - - -base_packages_extra_host: - - vlan - -dyndns: - server: ch-pan diff --git a/inventory/host_vars/r3-cccamp19-feedcode.yml b/inventory/host_vars/r3-cccamp19-feedcode.yml deleted file mode 100644 index 10f78ebc..00000000 --- a/inventory/host_vars/r3-cccamp19-feedcode.yml +++ /dev/null @@ -1,33 +0,0 @@ ---- -_vm_host_: helene - -install: - vm: - host: "{{ _vm_host_ }}" - mem: 6144 - numcpu: 4 - autostart: True - disks: - primary: /dev/sda - scsi: - sda: - type: lvm - vg: "{{ hostvars[_vm_host_].host_name }}" - lv: "{{ inventory_hostname }}" - size: 42g - interfaces: - - bridge: lan-br - name: lan0 - - bridge: camp19-br - name: camp0 - -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.gateway }}" diff --git a/inventory/host_vars/r3-cccamp19-flora.yml b/inventory/host_vars/r3-cccamp19-flora.yml deleted file mode 100644 index 40524574..00000000 --- a/inventory/host_vars/r3-cccamp19-flora.yml +++ /dev/null @@ -1,38 +0,0 @@ ---- -_vm_host_: helene - -install: - vm: - host: "{{ _vm_host_ }}" - mem: 4096 - numcpu: 4 - autostart: True - disks: - primary: /dev/sda - scsi: - sda: - type: lvm - vg: "{{ hostvars[_vm_host_].host_name }}" - lv: "{{ inventory_hostname }}" - size: 10g - interfaces: - - bridge: lan-br - name: lan0 - - bridge: camp19-br - name: camp0 - -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.gateway }}" - -install_playbook: r3-cccamp19_vm - -dyndns: - server: ch-pan diff --git a/inventory/host_vars/r3-cccamp19-gw.yml b/inventory/host_vars/r3-cccamp19-gw.yml deleted file mode 100644 index c6150b4d..00000000 --- a/inventory/host_vars/r3-cccamp19-gw.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -dyndns: - server: ch-pan diff --git a/inventory/host_vars/r3-cccamp19-helene.yml b/inventory/host_vars/r3-cccamp19-helene.yml deleted file mode 100644 index 104a5eda..00000000 --- a/inventory/host_vars/r3-cccamp19-helene.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -install_interface: eno1 -install_dhcp: true - -install: - efi: true - disks: - primary: /dev/disk/by-id/nvme-SAMSUNG_MZVPW256HEGL-00000_S346NB0J803346 - -network: - domain: camp.realraum.at - - -base_packages_extra_host: - - vlan - -dyndns: - server: ch-pan diff --git a/inventory/host_vars/r3-cccamp19-sw0.yml b/inventory/host_vars/r3-cccamp19-sw0.yml deleted file mode 100644 index 5b01d940..00000000 --- a/inventory/host_vars/r3-cccamp19-sw0.yml +++ /dev/null @@ -1,23 +0,0 @@ ---- -switch_mgmt_zone: "{{ network_zones.mgmt }}" -switch_mgmt_interface: "Gi1/0/28" - -switch_vlans: "{{ switch_vlans_yaml | from_yaml }}" -switch_vlans_yaml: | - {% for zone_name in network_zones.keys() %} - - name: "{{ zone_name }}" - id: "{{ network_zones[zone_name].vlan }}" - {% endfor %} - -switch_interfaces: "{{ switch_interfaces_yaml | from_yaml }}" -switch_interfaces_yaml: | - - spec: range Te1/0/1-4 - vlan: {{ network_zones['cccamp19'].vlan }} - - spec: range Gi1/0/5-16 - vlan: {{ network_zones['cccamp19'].vlan }} - - - spec: range Gi1/0/17-24 - vlan: {{ network_zones['protected'].vlan }} - - - spec: range Gi1/0/25-28 - vlan: {{ network_zones['mgmt'].vlan }} diff --git a/inventory/host_vars/r3-cccamp19-verr.yml b/inventory/host_vars/r3-cccamp19-verr.yml deleted file mode 100644 index f4e70d57..00000000 --- a/inventory/host_vars/r3-cccamp19-verr.yml +++ /dev/null @@ -1,38 +0,0 @@ ---- -_vm_host_: helene - -install: - vm: - host: "{{ _vm_host_ }}" - mem: 4096 - numcpu: 4 - autostart: True - disks: - primary: /dev/sda - scsi: - sda: - type: lvm - vg: "{{ hostvars[_vm_host_].host_name }}" - lv: "{{ inventory_hostname }}" - size: 20g - interfaces: - - bridge: lan-br - name: lan0 - - bridge: camp19-br - name: camp0 - -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.gateway }}" - -install_playbook: r3-cccamp19_vm - -dyndns: - server: ch-pan |