diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..ecd80aa Binary files /dev/null and b/.DS_Store differ diff --git a/README.md b/README.md index fcca75a..3c0b063 100644 --- a/README.md +++ b/README.md @@ -61,3 +61,9 @@ Wenn du das Board per MQTT steuern willst (siehe hier: https://github.com/olialb Wenn du von verschiedenen Servern/Rechnern aus auf den infoscreen zugreifen möchtest, kannst du hier die Keys eintragen. Diese werden sowohl für den Nutzer als auch root auf dem Raspi gesetzt. - roles/sshKeys/vars/main.yml +# bekannte ungelöste Probleme +## Sprachauswahl chrome +bei manchen Seiten (blöderweise auch der Webuntis-Vertretungsplan-Seite) kommt oben rechts eine Auswahl zwischen English und German. Die geht auch nicht von alleine weg. +### workaround +mit MQTT lässt sich ein Mausklick auf der Seite simulieren, der die Meldung entfernt. (der MQTT-Cronjob erledigt das, aber natürlich klappt das nur, wenn man die MQTT-Geschichte auch installiert...) + diff --git a/infoscreen.yml b/infoscreen.yml index 7fdc8c4..c4c03bd 100644 --- a/infoscreen.yml +++ b/infoscreen.yml @@ -9,6 +9,7 @@ raspi_user: morz # leider nochmal definieren, für become_user in den Rollen. infoscreen_name: "{{ inventory_hostname }}" infoscreen_url: "https://info.morz.de/infoscreen/index.php" + splashscreen: lmn-infoscreen.png # MUSS PNG sein in roles/lmnStuff/files prepareHost: yes lmnStuff: yes enableMQTTFeature: no diff --git a/roles/.DS_Store b/roles/.DS_Store new file mode 100644 index 0000000..ecbf1ec Binary files /dev/null and b/roles/.DS_Store differ diff --git a/roles/lmnStuff/.DS_Store b/roles/lmnStuff/.DS_Store new file mode 100644 index 0000000..8f9babd Binary files /dev/null and b/roles/lmnStuff/.DS_Store differ diff --git a/roles/lmnStuff/files/.DS_Store b/roles/lmnStuff/files/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/roles/lmnStuff/files/.DS_Store differ diff --git a/roles/lmnStuff/files/background.png b/roles/lmnStuff/files/background.png deleted file mode 100644 index 8b55cb1..0000000 Binary files a/roles/lmnStuff/files/background.png and /dev/null differ diff --git a/roles/lmnStuff/files/lmn-infoboard.png b/roles/lmnStuff/files/lmn-infoboard.png new file mode 100644 index 0000000..c452895 Binary files /dev/null and b/roles/lmnStuff/files/lmn-infoboard.png differ diff --git a/roles/lmnStuff/files/lmn-infoscreen.png b/roles/lmnStuff/files/lmn-infoscreen.png new file mode 100644 index 0000000..983d9f4 Binary files /dev/null and b/roles/lmnStuff/files/lmn-infoscreen.png differ diff --git a/roles/lmnStuff/files/morz-infoboard.png b/roles/lmnStuff/files/morz-infoboard.png new file mode 100644 index 0000000..e689b03 Binary files /dev/null and b/roles/lmnStuff/files/morz-infoboard.png differ diff --git a/roles/lmnStuff/files/morz-infoscreen.png b/roles/lmnStuff/files/morz-infoscreen.png new file mode 100644 index 0000000..537773c Binary files /dev/null and b/roles/lmnStuff/files/morz-infoscreen.png differ diff --git a/roles/lmnStuff/tasks/main.yml b/roles/lmnStuff/tasks/main.yml index fde70d5..143fde4 100644 --- a/roles/lmnStuff/tasks/main.yml +++ b/roles/lmnStuff/tasks/main.yml @@ -1,17 +1,17 @@ --- # tasks file for azitStuff # Hintergrundbild kopieren -- name: Kopiere background.png nach splashscreen +- name: Kopiere Background nach splashscreen copy: - src: files/background.png + src: "files/{{ splashscreen }}" dest: /boot/firmware/splash.png owner: root group: root mode: '0644' when: lmnStuff -- name: Kopiere background.png nach /opt/custompios +- name: Kopiere Background nach /opt/custompios copy: - src: files/background.png + src: "files/{{ splashscreen }}" dest: /opt/custompios/background.png owner: "{{ raspi_user }}" group: "{{ raspi_user }}"