2 ssh_users_tuergit: "{{ user_groups.noc | union(['fgenesis','ruru4143','ddd']) }}"
4 openwrt_variant: openwrt
5 openwrt_release: 18.06.4
8 openwrt_output_image_suffixes:
10 - combined-squashfs.img.gz
12 openwrt_packages_extra:
33 /usr/local/bin/door_client:
35 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/door_client/door_client"
36 /usr/local/bin/door_daemon:
38 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/door_daemon/door_daemon"
39 /usr/local/bin/update-keys:
41 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/update-keys/update-keys"
43 # door daemon init scripts and configs
46 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/initscripts/doord.openwrt"
49 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/initscripts/door.default"
53 link: "../init.d/doord"
56 /etc/hotplug.d/tty/door.tty:
58 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/scripts/door.tty"
59 /etc/hotplug.d/usb/door.usb:
61 file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/scripts/door.usb"
63 /usr/local/bin/authorized_keys.sh:
65 file: "{{ global_files_dir }}/{{ inventory_hostname }}/authorized_keys.sh"
67 /usr/local/bin/update-keys-from-stdin.sh:
69 file: "{{ global_files_dir }}/{{ inventory_hostname }}/update-keys-from-stdin.sh"
75 AllowUsers root tuerctl tuergit
76 AuthenticationMethods publickey
77 AuthorizedKeysFile /etc/ssh/authorized_keys.d/%u
79 AllowAgentForwarding no
82 UsePrivilegeSeparation sandbox
84 Subsystem sftp /usr/libexec/sftp-server
87 AuthorizedKeysFile /dev/null
88 AuthorizedKeysCommand /usr/local/bin/authorized_keys.sh
89 AuthorizedKeysCommandUser tuergit
91 /etc/ssh/authorized_keys.d/root:
92 content: "{{ ssh_users_root | user_ssh_keys(users) | join('\n') }}\n"
94 /etc/ssh/authorized_keys.d/tuergit:
95 content: "{{ ssh_users_tuergit | user_ssh_keys(users) | join('\n') }}\n"
101 hostname: '{{ inventory_hostname }}'
102 timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
107 - name: timeserver 'ntp'
112 - '0.lede.pool.ntp.org'
113 - '1.lede.pool.ntp.org'
114 - '2.lede.pool.ntp.org'
115 - '3.lede.pool.ntp.org'
118 - name: globals 'globals'
120 ula_prefix: fdc9:e01f:83db::/48
122 - name: interface 'loopback'
129 - name: interface 'mgmt'
134 ipaddr: "{{ net.mgmt.prefix | ipaddr(100) | ipaddr('address') }}"
135 netmask: "{{ net.mgmt.prefix | ipaddr('netmask') }}"
136 gateway: "{{ net.mgmt.gw }}"
137 dns: "{{ net.mgmt.dns | join(' ') }}"
138 dns_search: realraum.at
141 # does not work, using symlink to /var/run instead for now
146 opts: nosuid,nodev,noexec,noatime
152 shell: /usr/bin/git-shell
154 shell: /bin/false # TODO fixme