ansible-roles/bookworm-detect/tasks/main.yml
Jérémy Lecour a1bf300d54
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
bookworm-detect: transitional role to help dealing with unreleased bookworm version
2022-11-05 21:15:21 +01:00

11 lines
281 B
YAML

---
- debug:
var: ansible_lsb
# Force facts until Debian 12 is released because Ansible is dumb
- set_fact:
ansible_distribution_major_version: 12
ansible_distribution: "Debian"
ansible_distribution_release: "bookworm"
when: "ansible_lsb.codename == 'bookworm'"