Merge pull request 'Bug: Create the stack directory on first deploy' (#16) from bug/create-missing-stack-directory into main
Checks / Secret Scan (push) Successful in 6s
Checks / Lint (push) Successful in 33s

This commit was merged in pull request #16.
This commit is contained in:
claude-bot Bot committed 2026-11-27 21:30:30 +01:00
commit 431702ff74
1 file changed
+6
+6
View File
@@ -6,6 +6,12 @@
fail_msg: "docker_stack_name must be set"
quiet: true
- name: Create stack directory for {{ docker_stack_name }}
ansible.builtin.file:
path: "{{ docker_stack_root }}/{{ docker_stack_name }}"
state: directory
mode: "0755"
- name: Copy compose file for {{ docker_stack_name }}
ansible.builtin.copy:
src: "{{ playbook_dir }}/../stacks/{{ docker_stack_name }}/docker-compose.yml"