2 ssh_users_tuergit: "{{ user_groups.noc | union(['fgenesis']) }}"
4 openwrt_variant: openwrt
5 openwrt_release: 18.06.4
8 openwrt_output_image_suffixes:
10 - combined-squashfs.img.gz
12 openwrt_packages_extra:
39 /usr/local/bin/door_client:
41 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/door_client/door_client"
42 /usr/local/bin/door_daemon:
44 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/door_daemon/door_daemon"
45 /usr/local/bin/update-keys:
47 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/update-keys/update-keys"
49 # door daemon init scripts and configs
50 /etc/init.d/tuer_core:
52 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/initscripts/tuer_core.openwrt"
55 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/initscripts/tuer.default"
56 /etc/rc.d/S50tuer_core:
57 link: "../init.d/tuer_core"
60 /etc/hotplug.d/tty/door.tty:
62 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/scripts/door.tty"
63 /etc/hotplug.d/tty/door.usb:
65 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/scripts/door.usb"
67 /usr/local/bin/authorized_keys.sh:
69 file: "{{ global_files_dir }}/{{ inventory_hostname }}/authorized_keys.sh"
71 /usr/local/bin/update-keys-from-stdin.sh:
73 file: "{{ global_files_dir }}/{{ inventory_hostname }}/update-keys-from-stdin.sh"
79 AllowUsers root tuerctl tuergit
80 AuthenticationMethods publickey
81 AuthorizedKeysFile /etc/ssh/authorized_keys.d/%u
83 AllowAgentForwarding no
86 UsePrivilegeSeparation sandbox
88 Subsystem sftp /usr/libexec/sftp-server
91 AuthorizedKeysFile /dev/null
92 AuthorizedKeysCommand /usr/local/bin/authorized_keys.sh
93 AuthorizedKeysCommandUser tuergit
95 /etc/ssh/authorized_keys.d/root:
96 content: "{{ ssh_users_root | user_ssh_keys(users) | join('\n') }}\n"
98 /etc/ssh/authorized_keys.d/tuergit:
99 content: "{{ ssh_users_tuergit | user_ssh_keys(users) | join('\n') }}\n"
105 hostname: '{{ inventory_hostname }}'
106 timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
111 - name: timeserver 'ntp'
116 - '0.lede.pool.ntp.org'
117 - '1.lede.pool.ntp.org'
118 - '2.lede.pool.ntp.org'
119 - '3.lede.pool.ntp.org'
122 - name: globals 'globals'
124 ula_prefix: fdc9:e01f:83db::/48
126 - name: interface 'loopback'
133 - name: interface 'mgmt'
138 ipaddr: "{{ net.mgmt.prefix | ipaddr(100) | ipaddr('address') }}"
139 netmask: "{{ net.mgmt.prefix | ipaddr('netmask') }}"
140 gateway: "{{ net.mgmt.gw }}"
141 dns: "{{ net.mgmt.dns | join(' ') }}"
142 dns_search: realraum.at
149 opts: nosuid,nodev,noexec,noatime
155 shell: /usr/bin/git-shell
157 shell: /bin/false # TODO fixme