X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=ansible%2Fhost_vars%2Ftorwaechter%2Fmain.yml;fp=ansible%2Fhost_vars%2Ftorwaechter%2Fmain.yml;h=768a04040d3964282efdb3ac9e09a23e3461e0c0;hb=eeae6781756948b62b236850b4bb37e8c8f95fea;hp=ea413700ba04c2d892fef063a04d2c27af714263;hpb=2d31a118104afea81e885845bbf139d38b913b9d;p=noc.git diff --git a/ansible/host_vars/torwaechter/main.yml b/ansible/host_vars/torwaechter/main.yml index ea41370..768a040 100644 --- a/ansible/host_vars/torwaechter/main.yml +++ b/ansible/host_vars/torwaechter/main.yml @@ -24,6 +24,14 @@ openwrt_packages_extra: - lsblk openwrt_mixin: + /etc/default: + dirname: + /etc/hotplug.d/tty/: + dirname: + /etc/hotplug.d/usb/: + dirname: + /home: + dirname: /run: dirname: @@ -38,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"