mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-23 02:45:02 +01:00
39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
---
|
|
- name: "include docker/compose/database.yml"
|
|
include_tasks: docker/compose/database.yml
|
|
|
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
|
include_tasks: nginx-docker-proxy-domain.yml
|
|
|
|
- name: "include tasks update-repository-with-docker-compose.yml"
|
|
include_tasks: update-repository-with-docker-compose.yml
|
|
|
|
|
|
- name: "Transfering Gemfile.plugins to {{docker_compose_instance_directory}}"
|
|
copy:
|
|
src: Gemfile.plugins
|
|
dest: "{{docker_compose_instance_directory}}Gemfile.plugins"
|
|
notify:
|
|
- docker compose project setup
|
|
- rebuild docker image
|
|
|
|
- name: "Transfering Dockerfile to {{docker_compose_instance_directory}}"
|
|
copy:
|
|
src: Dockerfile
|
|
dest: "{{docker_compose_instance_directory}}Dockerfile"
|
|
notify:
|
|
- docker compose project setup
|
|
- rebuild docker image
|
|
|
|
- name: "create {{dummy_volume}}"
|
|
file:
|
|
path: "{{dummy_volume}}"
|
|
state: directory
|
|
mode: 0755
|
|
|
|
- name: "copy .env"
|
|
template:
|
|
src: env.j2
|
|
dest: "{{ docker_compose_instance_directory }}.env"
|
|
notify: docker compose project setup
|