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