computer-playbook/roles/docker-funkwhale/tasks/main.yml

26 lines
720 B
YAML

---
- name: "include tasks nginx-docker-proxy-domain.yml"
include_tasks: nginx-docker-proxy-domain.yml
- name: Create database in central MariaDB
include_role:
name: docker-mariadb
when: enable_central_database | bool
- name: "create {{docker_compose_instance_directory}}"
file:
path: "{{docker_compose_instance_directory}}"
state: directory
mode: 0755
- name: add docker-compose.yml
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
notify: docker compose project setup
- name: add .env
template:
src: env.j2
dest: "{{docker_compose_instance_directory}}.env"
mode: '770'
force: yes
notify: docker compose project setup