diff options
Diffstat (limited to 'inventory')
-rw-r--r-- | inventory/group_vars/all/users.yml | 4 | ||||
-rw-r--r-- | inventory/group_vars/vmhost-ch-atlas/vars.yml | 2 | ||||
-rw-r--r-- | inventory/host_vars/r3-nicoo.yml | 39 | ||||
-rw-r--r-- | inventory/host_vars/r3-vex2.yml | 2 | ||||
-rw-r--r-- | inventory/hosts.ini | 2 |
5 files changed, 48 insertions, 1 deletions
diff --git a/inventory/group_vars/all/users.yml b/inventory/group_vars/all/users.yml index c8255c7d..3fb26b34 100644 --- a/inventory/group_vars/all/users.yml +++ b/inventory/group_vars/all/users.yml @@ -39,6 +39,10 @@ users: ssh: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDN2NIeZ9d9V/FpQwXp9xeGiuOq14GyHV7wO0di0IGqh/eVSHoYebgpdofX1q+LI1VdDFDXPUiESLuE0neXPS3qxOV4S2cbAym7erEqoJItoY+Ny5DFfS4QUKw+n6JB8Eo22FdnYV2nf9speN/N5NNJ1eqdY5hc3scSJYCBI1VtSjKAjg3Gl/WiapfrDFYxoXX4DCuwuV8wdO17UDh90Yl3GkX8Ey4ms+cG1fE32VbCth9kT8PkIDQ+EzUJP3DH/ULzhbjzLr7vHCclKTgWE8iJ4Lx/u/dWLK8Nyoc45pi+UZy8e78+FA+eZ5XONVwzrXCeO672xCf4q4T4yoa1o0KH spel@spel-pc + nicoo: + ssh: + - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDirhW/XNWCDMBy9TAEZgrahGSMlYdddyc9bNAOBbLJ8TVDe0M7YAZ4kU5EYGZBmd4NGZ4Z2Vb+sc0xlJE1MYprL0hFoOSMmU17pa6uzXwAfWtiYAsm/Z8QssOVvyte629gCPUgw1oJM19N7/i8yZh+5j+iEpffbv66USpatLJqJgeM67VjcHPLHf75dEBwkqsWMvpIk3+8gtwXDR8t8YUuxJgHOLFUEWQ6wiXxBoIJTAvdzAzykIs/yJbsMpKjDNLfF0guaRDC5GnjwHqTkGegxBS3l/MzkOpXtWbbbhYX8yIvFkryBFbyB0oa/rnE2HnYbaq2riyZpcsKRXqIvvFFa80FqGE+8sQnMlHn2IaOlkmkBMBytL+6rP3feFWq+vGZLRMs7ezMs+o0ofe0svMhLjy79AJnRBfaFn350AnmqNGZ8HbS0A1vOpPJsJVMhcqx+0cPHfxIedNGs7BJZypmBiw6vZ0rzxm1YX7CZcpiIe2Ob9o/+ypwWVXlT1zcLMC6u5/2YXDCXea0QtiOnM9h4ahkRaBb8CUTMtDurOf9uPtwE8wzmq34baAOQMfY3Tb9uGvAlCcLbke5RDCLfvBx3C2g2KkaboFL/7V9YQ1DCpj+zpOEdr/Jr1wKoWBzgCfZcfXn954J2z2BjbHZRTpCW6EmaYXj4J2bRIX7FalKkw== nicoo@harbard + ssh_key_map: equinox: diff --git a/inventory/group_vars/vmhost-ch-atlas/vars.yml b/inventory/group_vars/vmhost-ch-atlas/vars.yml index b6f7c46f..6574195d 100644 --- a/inventory/group_vars/vmhost-ch-atlas/vars.yml +++ b/inventory/group_vars/vmhost-ch-atlas/vars.yml @@ -19,6 +19,7 @@ vm_host: ch-pan: 3 ch-testvm-atlas: 4 ele-mur: 5 + r3-nicoo: 10 r3-vex2: 11 ch-atlas: 13 offsets6: @@ -27,6 +28,7 @@ vm_host: ch-pan: 25 ch-testvm-atlas: 32 ele-mur: 33 + r3-nicoo: 38 r3-vex2: 39 ch-atlas: 41 k8stest: {} diff --git a/inventory/host_vars/r3-nicoo.yml b/inventory/host_vars/r3-nicoo.yml new file mode 100644 index 00000000..db436a71 --- /dev/null +++ b/inventory/host_vars/r3-nicoo.yml @@ -0,0 +1,39 @@ +--- +install: + vm: + memory: 2G + numcpus: 2 + autostart: True + disks: + primary: /dev/sda + scsi: + sda: + type: zfs + name: root + size: 10g + properties: + 'syncoid:sync': 'false' + interfaces: + - bridge: br-public + name: primary0 + mac: 52:54:00:d4:a2:20 + - bridge: br-funkfeuer + name: funkfeuer0 + mac: 52:54:00:95:27:43 + +network: + nameservers: "{{ vm_host.network.dns }}" + domain: "{{ host_domain }}" + systemd_link: + interfaces: "{{ install.interfaces }}" + primary: &_network_primary_ + name: primary0 + address: "{{ vm_host.network.bridges.public.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.offsets[inventory_hostname]) }}" + gateway: "{{ vm_host.network.bridges.public.gateway }}" + address6: "{{ vm_host.network.bridges.public.prefix6 | ansible.utils.ipaddr(vm_host.network.bridges.public.offsets6[inventory_hostname]) }}" + gateway6: "{{ vm_host.network.bridges.public.gateway6 }}" + interfaces: + - *_network_primary_ + + +ssh_keys_root: "{{ ssh_key_map.equinox.realraum + users.nicoo.ssh }}" diff --git a/inventory/host_vars/r3-vex2.yml b/inventory/host_vars/r3-vex2.yml index 9e07faee..56c56d4e 100644 --- a/inventory/host_vars/r3-vex2.yml +++ b/inventory/host_vars/r3-vex2.yml @@ -17,7 +17,7 @@ install: mac: 52:54:00:f9:e6:6f network: - nameservers: "{{ hostvars[_vm_host_].vm_host.network.dns }}" + nameservers: "{{ vm_host.network.dns }}" domain: "{{ host_domain }}" systemd_link: interfaces: "{{ install.interfaces }}" diff --git a/inventory/hosts.ini b/inventory/hosts.ini index ddaca8cf..e58673ce 100644 --- a/inventory/hosts.ini +++ b/inventory/hosts.ini @@ -110,6 +110,7 @@ ansible_port=22000 [realraum] r3-vex2 host_name=vex2 r3-0x10 host_name="'0x10'" +r3-nicoo host_name=nicoo [funkfeuer:vars] @@ -410,6 +411,7 @@ ch-pan ch-testvm-atlas ele-mur r3-vex2 +r3-nicoo [vmhost-ch-atlas] ch-atlas [vmhost-ch-atlas:children] |