mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-08 11:17:17 +02:00
20 lines
494 B
YAML
20 lines
494 B
YAML
---
|
|
- name: "load docker and db for {{ application_id }}"
|
|
include_role:
|
|
name: sys-stk-back-stateful
|
|
|
|
- name: configure {{ domain }}.conf
|
|
template:
|
|
src: "templates/proxy.conf.j2"
|
|
dest: "{{ [ NGINX.DIRECTORIES.HTTP.SERVERS, domain ~ '.conf'] | path_join }}"
|
|
notify: restart openresty
|
|
|
|
- name: "create {{ docker_compose.files.env }}"
|
|
template:
|
|
src: "database.j2"
|
|
dest: "{{ docker_compose.files.env }}"
|
|
mode: "0770"
|
|
force: yes
|
|
notify: docker compose up
|
|
|