From 066baf35384d18b1390f1b05a263b88dc59b4532 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Tue, 17 Aug 2021 15:32:53 +0200 Subject: [PATCH] Revert "bullseye-detect: this role is obsolete, Debian 11 has been fully released" This reverts commit c9f25f4638e85d021efcd9eb89ee1622dbfb8637. --- CHANGELOG.md | 1 - bullseye-detect/tasks/main.yml | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 bullseye-detect/tasks/main.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ed5b8e0..930d2696 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,7 +46,6 @@ The **patch** part changes incrementally at each release. ### Removed -* bullseye-detect: this role is obsolete, Debian 11 has been fully released * php: remove php-gettext for 7.4 ### Security diff --git a/bullseye-detect/tasks/main.yml b/bullseye-detect/tasks/main.yml new file mode 100644 index 00000000..6f97db0a --- /dev/null +++ b/bullseye-detect/tasks/main.yml @@ -0,0 +1,8 @@ +--- + +# Force facts until Debian 11 is released because Ansible is dumb +- set_fact: + ansible_distribution_major_version: 11 + ansible_distribution: "Debian" + ansible_distribution_release: "bullseye" + when: "ansible_lsb.codename == 'bullseye' or ansible_lsb.release == 'testing/unstable'" \ No newline at end of file