mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-01 10:43:11 +01:00
18 lines
485 B
YAML
18 lines
485 B
YAML
- name: include docker vars
|
|
include_vars: vars/docker-common.yml.j2
|
|
|
|
- name: load docker compose dependencies
|
|
include_role:
|
|
name: docker-compose
|
|
|
|
- name: "remove {{ docker_compose_instance_directory }} and all its contents"
|
|
file:
|
|
path: "{{ docker_compose_instance_directory }}"
|
|
state: absent
|
|
when: mode_reset | bool
|
|
|
|
- name: "create {{docker_compose_instance_directory}}"
|
|
file:
|
|
path: "{{docker_compose_instance_directory}}"
|
|
state: directory
|
|
mode: 0755 |