This commit is contained in:
CC
2026-09-07 23:49:52 +01:00
parent 72c218fe21
commit 2da68c03e1

View File

@@ -1,12 +1,15 @@
---
# Copy directory recursively to remote host
- name: Copy project directory to remote
ansible.posix.synchronize:
src: "../../compose/{{ folder_name }}/"
dest: "/home/cloud/{{ folder_name }}/"
ansible.builtin.synchronize:
src: ../../compose/{{ folder_name }}
dest: /home/cloud/
mode: push
- name: Start Compose stack
community.docker.docker_compose_v2:
project_src: "/home/cloud/{{ folder_name }}"
project_src: /home/cloud/{{ folder_name }}
build: always
pull: always
state: present