Skip to content
Snippets Groups Projects
Commit 37b952c5 authored by Daniel Müller's avatar Daniel Müller :speech_balloon:
Browse files

Add jupyter + mdbook shortcuts

parent 7a8f9bde
No related branches found
No related tags found
No related merge requests found
[Desktop Entry]
Type=Application
Name=Jupyter
Comment=Jupyter Notebook
Exec=xdg-open http://127.0.0.1:8888
Icon=help-contents
Terminal=false
\ No newline at end of file
......@@ -40,3 +40,10 @@
state: started
daemon_reload: true
when: jupyter_service and jupyter_start
- name: Copy desktop entry to desktop
become: true
become_user: "{{ target_user }}"
copy:
src: files/jupyter.desktop
dest: "/home/{{ target_user }}/Desktop/jupyter.desktop"
\ No newline at end of file
[Desktop Entry]
Type=Application
Name=Book
Comment=mdBook Documentation of the AI at the Edge project
Exec=xdg-open /home/pi/Documentation/public/index.html
Icon=help-contents
Terminal=false
\ No newline at end of file
......@@ -9,7 +9,16 @@
state: directory
- name: Download and extract mdbook artifacts
become: true
become_user: "{{ target_user }}"
unarchive:
src: "https://code.fbi.h-da.de/pse-ai-at-the-edge/ai-at-the-edge/-/jobs/artifacts/main/download?job=pages"
dest: "/home/{{ target_user }}/Documentation"
remote_src: true
\ No newline at end of file
remote_src: true
- name: Copy desktop entry to desktop
become: true
become_user: "{{ target_user }}"
template:
src: files/book.desktop
dest: "/home/{{ target_user }}/Desktop/book.desktop"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment