Solved database backup buck

This commit is contained in:
2025-04-16 13:27:27 +02:00
parent a50d8159fc
commit 7d5d69c380
6 changed files with 43 additions and 36 deletions

View File

@@ -1,7 +1,7 @@
- name: "load variables from {{ role_path }}/vars/docker-compose.yml for whole play"
- name: "{{ role_name }} | Load variables from {{ role_path }}/vars/docker-compose.yml for whole play"
include_vars: "{{ role_path }}/vars/docker-compose.yml"
- name: "remove {{ docker_compose.directories.instance }} and all its contents"
- name: "{{ role_name }} | Remove {{ docker_compose.directories.instance }} and all its contents"
file:
path: "{{ docker_compose.directories.instance }}"
state: absent
@@ -9,7 +9,7 @@
# This could lead to problems in docker-compose directories which are based on a git repository
# @todo Verify that this isn't the case. E.g. in accounting
- name: "Create all docker-compose directories (including parent directories)"
- name: "{{ role_name }} | Create all docker-compose directories (including parent directories)"
file:
path: "{{ item.value }}"
state: directory