Merge pull request #52 from realraum/preseed/disk-selection
[noc.git] / ansible / host_vars / ctf / main.yml
1 ---
2 ssh_users_root:
3   - verr
4   - equinox
5   - nicoo
6
7 sshd_allowusers_host:
8   - f0rki
9   - verr
10
11 # SSH configuration
12 ## There are no individual user accounts
13 localconfig_ssh_config_user: root
14
15 # VM installation
16 vm_host: alfred
17
18 install:
19   host: "{{ vm_host }}"
20   mem: 2048
21   numcpu: 2
22   disks:
23     primary: /dev/vda
24     virtio:
25       vda:
26         vg: "{{ vm_host }}"
27         lv: "{{ inventory_hostname }}"
28         size: 20g
29   interfaces:
30   - bridge: br-lan ## this will be br-pub once the network renumbering is done
31     name: pub0
32   autostart: True
33
34 network:
35   nameservers: "{{ hostvars[vm_host].vm_host.network.nameservers }}"
36   domain: realraum.at
37   systemd_link:
38     interfaces: "{{ install.interfaces }}"
39   primary:
40     ## TODO: this should come from {{ net.pub.* }} once the network renumbering is done
41     interface: pub0
42     ip: 89.106.211.47
43     mask: 255.255.255.224
44     gateway: 89.106.211.33