- name: Erstelle Host-spezifische Backup-Verzeichnisse file: path: "{{ backup_host_dir }}/{{ item }}" state: directory loop: "{{backupdirs}}" when: ansible_facts.lsb.codename in ["bookworm", "bullseye"]