mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-04 00:19:34 +00:00
Added LittleJS draft https://chatgpt.com/share/69288dea-0870-800f-9939-aad7ed2f54b3
This commit is contained in:
23
roles/web-app-littlejs/tasks/01_core.yml
Normal file
23
roles/web-app-littlejs/tasks/01_core.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
- name: "load docker, proxy for '{{ application_id }}'"
|
||||
include_role:
|
||||
name: sys-stk-full-stateless
|
||||
vars:
|
||||
docker_compose_flush_handlers: false
|
||||
|
||||
- name: "Load LittleJS example metadata"
|
||||
include_vars:
|
||||
file: "examples.yml"
|
||||
|
||||
- name: "Render LittleJS index.html"
|
||||
template:
|
||||
src: "html/index.html.j2"
|
||||
dest: "{{ LITTLEJS_INDEX_HOST_ABS }}"
|
||||
mode: "0644"
|
||||
notify:
|
||||
- docker compose build
|
||||
- docker compose up
|
||||
|
||||
- name: "flush docker compose for '{{ application_id }}'"
|
||||
meta: flush_handlers
|
||||
|
||||
- include_tasks: utils/run_once.yml
|
||||
Reference in New Issue
Block a user