diff options
-rw-r--r-- | chaos-at-home/r3-vex2.yml | 7 | ||||
-rw-r--r-- | inventory/group_vars/all/main.yml | 2 | ||||
-rw-r--r-- | inventory/group_vars/realraum/main.yml | 2 | ||||
-rw-r--r-- | inventory/host_vars/r3-vex2.yml | 33 | ||||
-rw-r--r-- | inventory/hosts.ini | 11 |
5 files changed, 55 insertions, 0 deletions
diff --git a/chaos-at-home/r3-vex2.yml b/chaos-at-home/r3-vex2.yml new file mode 100644 index 00000000..0369175b --- /dev/null +++ b/chaos-at-home/r3-vex2.yml @@ -0,0 +1,7 @@ +--- +- name: nothing to see here + hosts: r3-vex2 + tasks: + - name: do nothing + debug: + msg: "all the rest is done using the realraum ansible repo" diff --git a/inventory/group_vars/all/main.yml b/inventory/group_vars/all/main.yml index d3693b76..664298c8 100644 --- a/inventory/group_vars/all/main.yml +++ b/inventory/group_vars/all/main.yml @@ -37,5 +37,7 @@ ssh_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCjqlbFhzWRt2EnUrd7AFgR2iqPbV655OE38184ws+RvO82ImpJsKy80AvLQ3DhplLAN2W9kROBn3bga89pK7Sf78EwYYb5e+McVA0vUH/mnPurJpgPHg6q34yW5G5JVqKTmlqzQMDzmYw0iFNcieGmWXmx2QTtHj8qLuGOuBOE6/mljhgE7Pq4S0oyMjH2tLOhHS1Lykh5DH/OaHpofyUcd2uOCkgOClOUBHZ7Oo82J7yk5SZSVcrjQ4psO9ptqWNmw58ZBX5OPDTV/N7wPjgr2TL3HfCe8gkf2jERsghKufSuFpf2P6bNrK4k+grxB+LXuZihvOxJGRjemqImqvqaADLs23yCUWhgF/9oQ25ACydRGhHc56KIC3lQ3KOGoYT2IGo3Si/bQ7FpQIkODRWPHNKqbpItGm07uSTvkPZ4CadlG0MRhlOEjzRQgP1GYjr8w6917RZxO3DHndC1TfsciYhuwDGLon8WNtw1AjqRXolGnrkB2GsEENGvtJC97dioxPamOBctu06xdmDXwYpynXePoAp4+XxFlj/lUC8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gkHt7Gfk9UZQBmOW+nqnDlBpaIqEZMKWUDl9jdRNTCEEq3o8wOP6CLdSBRHg7EdbEztjMOl8kEry7xxNu0o5jNpX8q9JgL82j/7pgMP5shqPcjxLFe4PwzgDdtYA83vu4GVYeukOrN/nYeMGBSMpEYzrNIz6MFtO+A2sQPBkGWd6w8REIGRbCJGcoxZw== datacop@wireloss.net diff --git a/inventory/group_vars/realraum/main.yml b/inventory/group_vars/realraum/main.yml new file mode 100644 index 00000000..57c97453 --- /dev/null +++ b/inventory/group_vars/realraum/main.yml @@ -0,0 +1,2 @@ +--- +ssh_keys_root: "{{ ssh_keys.equinox.realraum }}" diff --git a/inventory/host_vars/r3-vex2.yml b/inventory/host_vars/r3-vex2.yml new file mode 100644 index 00000000..74f9cacc --- /dev/null +++ b/inventory/host_vars/r3-vex2.yml @@ -0,0 +1,33 @@ +--- +apt_repo_provider: ffgraz + +vm_host: ch-atlas + +install: + host: "{{ vm_host }}" + mem: 2048 + numcpu: 2 + disks: + primary: /dev/sda + scsi: + sda: + vg: "{{ hostvars[vm_host].host_name }}" + lv: "{{ inventory_hostname }}" + size: 15g + interfaces: + - bridge: extbr + name: primary0 + autostart: True + +network: + nameservers: "{{ hostvars[vm_host].vm_host.network.dns }}" + domain: "{{ host_domain }}" + systemd_link: + interfaces: "{{ install.interfaces }}" + primary: + interface: primary0 + ip: "{{ hostvars[vm_host].vm_host.network.prefix | ipaddr(hostvars[vm_host].vm_host.network.offsets[inventory_hostname]) | ipaddr('address') }}" + mask: "{{ hostvars[vm_host].vm_host.network.prefix | ipaddr('netmask') }}" + gateway: "{{ hostvars[vm_host].vm_host.network.gw }}" + prefix6: "{{ hostvars[vm_host].vm_host.network.prefix6 | ipaddr(hostvars[vm_host].vm_host.network.offsets[inventory_hostname]) | ipaddr('address/prefix') }}" + gateway6: "{{ hostvars[vm_host].vm_host.network.gw6 }}" diff --git a/inventory/hosts.ini b/inventory/hosts.ini index 9c06a9c4..19d76295 100644 --- a/inventory/hosts.ini +++ b/inventory/hosts.ini @@ -43,6 +43,16 @@ ch-ap0 host_name=ap0 ch-ap1 host_name=ap1 + +[realraum:vars] +host_domain=realraum.at +env_group=chaos-at-home +ansible_port=22000 + +[realraum] +r3-vex2 host_name=vex2 + + ############################### # environment: spreadspace @@ -149,6 +159,7 @@ ch-gnocchi emc-stats emc-master ch-keyserver +r3-vex2 [hroot] |