convert repo to ansible collection patrickj.docker_compose_app

This commit is contained in:
2026-07-16 21:43:52 -04:00
parent 1aff50b74e
commit 2d393ff46e
14 changed files with 458 additions and 411 deletions
+14
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') }}"