Restructuring for new backup solution

This commit is contained in:
2025-07-16 19:09:31 +02:00
parent dea2669de2
commit 169493179e
38 changed files with 133 additions and 91 deletions

View File

@@ -8,7 +8,7 @@
- name: Install PostgreSQL
docker_container:
name: "{{ postgres_hostname }}"
name: "{{ postgres_name }}"
image: "{{ postgres_image }}:{{ postgres_version }}"
detach: yes
env:
@@ -31,7 +31,7 @@
when: run_once_docker_postgres is not defined
- name: Wait for Postgres inside the container
shell: "docker exec {{ postgres_hostname }} pg_isready -U postgres"
shell: "docker exec {{ postgres_name }} pg_isready -U postgres"
register: pg_ready
until: pg_ready.rc == 0
retries: 30