Initial commit

This commit is contained in:
hiperman
2026-01-26 23:24:37 -05:00
commit 26c32763cc
11 changed files with 936 additions and 0 deletions

14
tasks/manage_compose.yaml Normal file
View File

@@ -0,0 +1,14 @@
---
- name: "{{ app_name }} - Stop Docker Compose stack"
community.docker.docker_compose_v2:
project_src: "{{ app_dir }}"
state: stopped
remove_orphans: true
ignore_errors: true
- name: "{{ app_name }} - Start Docker Compose stack"
community.docker.docker_compose_v2:
project_src: "{{ app_dir }}"
state: present
pull: "{{ app_compose_pull | default('policy') }}"
recreate: "{{ app_compose_recreate | default('auto') }}"