feat: Install 50ohm webserver, download the content and install the final, static website

This commit is contained in:
Lars Weiler
2026-02-07 23:53:28 +01:00
commit 238bb38a6c
20 changed files with 578 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
- name: Run build.py in {{ destination_path }}/50ohm
ansible.builtin.command: uv run python3 ./build.py
args:
chdir: "{{ destination_path }}/50ohm"
become_user: "{{ fiftyohm_user }}"
+5
View File
@@ -0,0 +1,5 @@
- name: Run tasks from prepare.yml
ansible.builtin.include_tasks: prepare.yml
- name: Run tasks from build.yml
ansible.builtin.include_tasks: build.yml
+13
View File
@@ -0,0 +1,13 @@
- name: Run uv venv in {{ destination_path }}/50ohm
ansible.builtin.command: uv venv
args:
chdir: "{{ destination_path }}/50ohm"
creates: "{{ destination_path }}/50ohm/.venv"
become_user: "{{ fiftyohm_user }}"
- name: Install dependencies with uv pip in {{ destination_path }}/50ohm
ansible.builtin.command: uv pip sync requirements.txt
args:
chdir: "{{ destination_path }}/50ohm"
creates: "{{ destination_path }}/50ohm/.venv/lib/python3.*/site-packages/uv"
become_user: "{{ fiftyohm_user }}"