mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-07 09:56:41 +00:00
Optimized docker compose flush logic
This commit is contained in:
@@ -24,6 +24,3 @@
|
||||
include_tasks: "utils/up.yml"
|
||||
when: docker_compose_file_creation_enabled | bool
|
||||
|
||||
- name: "flush docker compose for '{{ application_id }}'"
|
||||
meta: flush_handlers
|
||||
when: docker_compose_flush_handlers | bool
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
- name: Include docker to setup docker
|
||||
- name: Load Docker
|
||||
include_role:
|
||||
name: sys-svc-docker
|
||||
when: run_once_sys_svc_docker is not defined
|
||||
|
||||
- name: create docker network for Ollama, so that other applications can access it
|
||||
- name: Create docker network
|
||||
community.docker.docker_network:
|
||||
name: "{{ docker_network_name }}"
|
||||
state: present
|
||||
|
||||
@@ -23,4 +23,5 @@
|
||||
notify: docker compose up
|
||||
|
||||
- name: "Flush Docker Compose Up Handlers for {{ docker_compose.directories.instance }}"
|
||||
meta: flush_handlers
|
||||
meta: flush_handlers
|
||||
when: docker_compose_flush_handlers | bool
|
||||
Reference in New Issue
Block a user