ctf: Move host vars from inventory to host_vars/ & document them
[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 ## ctf.realraum.at doesn't resolve to the new VM (yet)
15 ansible_host: 89.106.211.47
16
17 # VM installation
18 vm_host: alfred
19
20 install:
21   host: "{{ vm_host }}"
22   mem: 2048
23   numcpu: 2
24   disks:
25     primary: vda
26     virtio:
27       vda:
28         vg: "{{ vm_host }}"
29         lv: "{{ inventory_hostname }}"
30         size: 20g
31   interfaces:
32   - bridge: br-lan ## this will be br-pub once the network renumbering is done
33     name: pub0
34   autostart: True
35
36 network:
37   nameservers: "{{ hostvars[vm_host].vm_host.network.nameservers }}"
38   domain: realraum.at
39   systemd_link:
40     interfaces: "{{ install.interfaces }}"
41   primary:
42     ## TODO: this should come from {{ net.pub.* }} once the network renumbering is done
43     interface: pub0
44     ip: 89.106.211.47
45     mask: 255.255.255.224
46     gateway: 89.106.211.33