Management, update arduino, add initial webapp

This commit is contained in:
2017-09-09 23:44:49 +02:00
parent b6f4601972
commit fd6f26f202
7 changed files with 76 additions and 14 deletions

3
raspi/mgmt/autostart Normal file
View File

@@ -0,0 +1,3 @@
@xset s noblank
@xset s off
@xset -dpms

7
raspi/mgmt/playbook.yml Normal file
View File

@@ -0,0 +1,7 @@
- hosts: raspi
become: True
become_user: root
tasks:
- copy: src=autostart dest=/home/pi/.config/lxsession/LXDE-pi/autostart
- copy: src=sejf.desktop dest=/etc/xdg/autostart
- apt: name=python-flask state=present

7
raspi/mgmt/sejf.desktop Executable file
View File

@@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=sejf
NoDisplay=true
Exec=python /home/pi/sejf/raspi/pySejf.py
Terminal=true
NotShowIn=GNOME;KDE;XFCE;