mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-20 23:14:56 +02:00
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
---
|
|
- name: "include docker-central-database"
|
|
include_role:
|
|
name: docker-central-database
|
|
|
|
- name: "include role nginx-domain-setup for {{application_id}}"
|
|
include_role:
|
|
name: nginx-domain-setup
|
|
vars:
|
|
domain: "{{ domains[application_id] }}"
|
|
http_port: "{{ ports.localhost.http[application_id] }}"
|
|
|
|
- name: "include role docker-repository-setup for {{application_id}}"
|
|
include_role:
|
|
name: docker-repository-setup
|
|
|
|
- name: "copy templates {{ settings_files }} for taiga-contrib-oidc-auth"
|
|
template:
|
|
src: "taiga/{{item}}.py.j2"
|
|
dest: "{{ docker_compose.directories.config }}taiga-{{item}}.py"
|
|
when: applications[application_id].oidc.enabled and applications[application_id].oidc.flavor == 'taigaio'
|
|
notify: docker compose project build and setup
|
|
loop: "{{ settings_files }}"
|
|
|
|
- name: "create {{docker_compose_init}}"
|
|
template:
|
|
src: "docker-compose-inits.yml.j2"
|
|
dest: "{{docker_compose_init}}"
|
|
notify: docker compose project build and setup
|
|
|
|
- name: "copy docker-compose.yml and env file"
|
|
include_tasks: copy-docker-compose-and-env.yml
|