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

Add mdbook task

parent aec0c902
No related branches found
No related tags found
No related merge requests found
......@@ -21,9 +21,11 @@
- [local.yml](./local.yml): The main playbook file, can be seen as the entry point
- [roles](./roles): Contains multiple roles (can be seen as small task specific playbooks). The
roles are called in the [local.yml](./local.yml)
- [git-clone](./roles/git-clone/tasks/main.yml): Clone the [ai-at-the-edge](https://code.fbi.h-da.de/pse-ai-at-the-edge/ai-at-the-edge) repository into the notebooks directory
- [jupyter-lab](./roles/jupyter-lab/tasks/main.yml): Install jupyter-lab and configure it with a systemd service and autostart
- [misc-applications](./roles/misc-applications/tasks/main.yml): Install additional extra applications
- [ml-python-packages](./roles/ml-python-packages/tasks/main.yml): Install the machine learning python packages
- [local-mdbook](./roles/local-mdbook/tasks/main.yml): Download the lastest version of the [deployed mdbook](https://pse-ai-at-the-edge.h-da.io/ai-at-the-edge/) documentation
# Using the ansible playbook on Raspberry Pi OS
......
......@@ -33,3 +33,4 @@
- jupyter-lab
- ml-python-packages
- misc-applications
- local-mdbook
---
# roles/local-mdbook
- name: Create Documentation dir
become: true
become_user: "{{ target_user }}"
file:
path: "/home/{{ target_user }}/Documentation"
state: directory
- name: Download and extract mdbook artifacts
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment