mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-08 18:35:11 +00:00
10 lines
495 B
YAML
10 lines
495 B
YAML
- name: "Ensure that docker compose is up"
|
|
# This is a little hack to guaranty that the docker containers are allways up
|
|
# It isn't the cleanest solution to have it here but it should fullfill their purpose
|
|
include_tasks: "{{ playbook_dir }}/roles/docker-compose/tasks/05_ensure_up.yml"
|
|
when:
|
|
- docker_compose is defined
|
|
- (application_id | get_entity_name) == (docker_compose.directories.instance | basename)
|
|
|
|
- meta: flush_handlers
|
|
when: flush_handlers | default(true) | bool |