n8n ansible base

This commit is contained in:
CC
2026-05-21 12:15:04 +01:00
parent 26ab15b8b3
commit db9cc7909b
8 changed files with 107 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
---
# Copy directory recursively to remote host
- name: Copy project directory to remote
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 }}
build: always
pull: always
state: present