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
52 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/initscripts/doord.openwrt"
55 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/initscripts/door.default"
59 link: "../init.d/doord"
62 /etc/hotplug.d/tty/door.tty:
64 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/scripts/door.tty"
65 /etc/hotplug.d/usb/door.usb:
67 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/scripts/door.usb"
69 /usr/local/bin/authorized_keys.sh:
71 file: "{{ global_files_dir }}/{{ inventory_hostname }}/authorized_keys.sh"
73 /usr/local/bin/update-keys-from-stdin.sh:
75 file: "{{ global_files_dir }}/{{ inventory_hostname }}/update-keys-from-stdin.sh"
81 AllowUsers root tuerctl tuergit
82 AuthenticationMethods publickey
83 AuthorizedKeysFile /etc/ssh/authorized_keys.d/%u
85 AllowAgentForwarding no
88 UsePrivilegeSeparation sandbox
90 Subsystem sftp /usr/libexec/sftp-server
93 AuthorizedKeysFile /dev/null
94 AuthorizedKeysCommand /usr/local/bin/authorized_keys.sh
95 AuthorizedKeysCommandUser tuergit
97 /etc/ssh/authorized_keys.d/root:
98 content: "{{ ssh_users_root | user_ssh_keys(users) | join('\n') }}\n"
100 /etc/ssh/authorized_keys.d/tuergit:
101 content: "{{ ssh_users_tuergit | user_ssh_keys(users) | join('\n') }}\n"
107 hostname: '{{ inventory_hostname }}'
108 timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
113 - name: timeserver 'ntp'
118 - '0.lede.pool.ntp.org'
119 - '1.lede.pool.ntp.org'
120 - '2.lede.pool.ntp.org'
121 - '3.lede.pool.ntp.org'
124 - name: globals 'globals'
126 ula_prefix: fdc9:e01f:83db::/48
128 - name: interface 'loopback'
135 - name: interface 'mgmt'
140 ipaddr: "{{ net.mgmt.prefix | ipaddr(100) | ipaddr('address') }}"
141 netmask: "{{ net.mgmt.prefix | ipaddr('netmask') }}"
142 gateway: "{{ net.mgmt.gw }}"
143 dns: "{{ net.mgmt.dns | join(' ') }}"
144 dns_search: realraum.at
151 opts: nosuid,nodev,noexec,noatime
157 shell: /usr/bin/git-shell
159 shell: /bin/false # TODO fixme