feat: Install 50ohm webserver, download the content and install the final, static website
This commit is contained in:
@@ -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 }}"
|
||||
@@ -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
|
||||
@@ -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 }}"
|
||||
Reference in New Issue
Block a user