From d74421673462840e80299f60aa93ef731d7e38bf Mon Sep 17 00:00:00 2001 From: Olli Graf Date: Sat, 3 Jan 2026 10:57:34 +0100 Subject: [PATCH] die Einzelverzeichnisse zum Backup sind durch tar nicht mehr notwendig. --- .gitignore | 3 +++ roles/trixie_migration/tasks/create-backup-dirs.yml | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 5c199eb..0817058 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ # ---> Ansible *.retry + +roles/trixie_migration/vars/main.yml + diff --git a/roles/trixie_migration/tasks/create-backup-dirs.yml b/roles/trixie_migration/tasks/create-backup-dirs.yml index 987d19c..5f44136 100644 --- a/roles/trixie_migration/tasks/create-backup-dirs.yml +++ b/roles/trixie_migration/tasks/create-backup-dirs.yml @@ -1,6 +1,6 @@ -- name: Erstelle Host-spezifische Backup-Verzeichnisse +- name: Erstelle Backup Host Verzeichnis file: - path: "{{ backup_host_dir }}/{{ item }}" + path: "{{ backup_host_dir }}" state: directory - loop: "{{backupdirs}}" + tags: backup when: ansible_facts.lsb.codename in ["bookworm", "bullseye"]