Skip to content

Remove Debian 11 (bullseye) support#93

Merged
Oddly merged 3 commits intomainfrom
chore/remove-debian11
Mar 10, 2026
Merged

Remove Debian 11 (bullseye) support#93
Oddly merged 3 commits intomainfrom
chore/remove-debian11

Conversation

@Oddly
Copy link
Copy Markdown
Owner

@Oddly Oddly commented Mar 10, 2026

Debian 11 reached end of life in August 2026. This removes it from all CI test matrices, changes the molecule default distro from debian11 to debian12, drops the Incus image mapping, and removes bullseye from role platform metadata. 28 files touched, no functional changes — just test infrastructure cleanup.

Oddly added 3 commits March 10, 2026 09:42
The elasticstack shared role sets elasticstack_password to the user-defined
value before the elasticsearch role's security setup has actually changed the
password in ES. On fresh install the passwords file doesn't exist yet, so the
fetch-from-file task is skipped and the premature value stays, causing a 401
on the API availability check. We now clear it to {stdout: ''} so the check
is safely skipped, and added fallback logic that detects a 401 from a prior
password change and switches to the user-defined password for re-runs.

The cluster settings comparison template produced whitespace-padded output
("          True") which Ansible 2.19+ bool filter now coerces to False
instead of True, silently skipping the PUT. Added | trim to fix that.

Also fixed verify_fetch_password.yml where Ansible's register directive on a
skipped shell task overwrote the set_fact result with a dict lacking .stdout.
Swapped the task order so set_fact always runs last and wins.
The ternary() filter eagerly evaluates all arguments, crashing when
_es_cgroup_memory.content is undefined on real VMs (not cgroup-limited).
Replaced with an if/else block. The comment('#') filter style was removed
in Ansible 2.19+ so we use the default (no-arg) form instead. On fresh
installs the elastic password wasn't re-fetched after security setup
created it, leaving downstream tasks without credentials. The Kibana
external certs flow tried to write files before creating /etc/kibana/certs.
Debian 11 reached end of life. This drops it from CI workflow matrices,
changes the molecule default distro from debian11 to debian12, removes
the Incus image mapping, and removes bullseye from role metadata.
@Oddly Oddly merged commit 3480953 into main Mar 10, 2026
45 checks passed
@Oddly Oddly deleted the chore/remove-debian11 branch March 10, 2026 11:55
@Oddly Oddly mentioned this pull request Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant