---

- ansible.builtin.debug:
    var: ansible_lsb

# Force facts until Debian 12 is released because Ansible is dumb
- ansible.builtin.set_fact:
    ansible_distribution_major_version: 12
    ansible_distribution: "Debian"
    ansible_distribution_release: "bookworm"
  when: "'bookworm' in ansible_lsb.codename or 'bookworm' in ansible_lsb.description"