X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=ansible%2Fhost_vars%2Ftorwaechter%2Fmain.yml;h=768a04040d3964282efdb3ac9e09a23e3461e0c0;hb=eeae6781756948b62b236850b4bb37e8c8f95fea;hp=cc5a15caa787e475d434b0c968e3882adc104026;hpb=b607f45d9168c44a7a04c1d019bced60f0203cf7;p=noc.git diff --git a/ansible/host_vars/torwaechter/main.yml b/ansible/host_vars/torwaechter/main.yml index cc5a15c..768a040 100644 --- a/ansible/host_vars/torwaechter/main.yml +++ b/ansible/host_vars/torwaechter/main.yml @@ -20,8 +20,21 @@ openwrt_packages_extra: - screen - sudo - usbutils + - rsync + - lsblk openwrt_mixin: + /etc/default: + dirname: + /etc/hotplug.d/tty/: + dirname: + /etc/hotplug.d/usb/: + dirname: + /home: + dirname: + /run: + dirname: + # Go binaries /usr/local/bin/door_client: mode: '0755' @@ -33,6 +46,24 @@ openwrt_mixin: mode: '0755' file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/update-keys/update-keys" + # door daemon init scripts and configs + /etc/init.d/tuer_core: + mode: '0755' + file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/initscripts/tuer_core.openwrt" + /etc/default/tuer: + mode: '0755' + file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/initscripts/tuer.default" + /etc/rc.d/S50tuer_core: + link: "../init.d/tuer_core" + + # hotplug files + /etc/hotplug.d/tty/door.tty: + mode: '0755' + file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/scripts/door.tty" + /etc/hotplug.d/tty/door.usb: + mode: '0755' + file: "{{ global_cache_dir }}/{{ inventory_hostname }}/door_and_sensors/scripts/door.usb" + /usr/local/bin/authorized_keys.sh: mode: '0755' file: "{{ global_files_dir }}/{{ inventory_hostname }}/authorized_keys.sh"