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"]