computer-playbook/tasks/docker/compose/common.yml

18 lines
485 B
YAML
Raw Permalink Normal View History

2024-01-03 20:17:55 +01:00
- name: include docker vars
include_vars: vars/docker-common.yml.j2
2024-01-03 20:17:55 +01:00
- 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
2024-01-08 19:38:36 +01:00
when: mode_reset | bool
- name: "create {{docker_compose_instance_directory}}"
file:
path: "{{docker_compose_instance_directory}}"
state: directory
mode: 0755