Skip to content

YDA-7297: update legacy fact name format - #802

Merged
lwesterhof merged 1 commit into
developmentfrom
yda-7297-update-legacy-facts-name-format
Oct 27, 2026
Merged

lwesterhof merged 1 commit into
developmentfrom
yda-7297-update-legacy-facts-name-format

Conversation

@stsnel

@stsnel stsnel commented Oct 23, 2026

Copy link
Copy Markdown
Member

The legacy fact name format (e.g. "ansible_os_family") will be removed in Ansible v2.24.0. Replace it with the regular bracket format (e.g. ansible_facts["os_family"]) to remain compatible with newer Ansible versions.

The legacy fact name format (e.g. "ansible_os_family") will be removed
in Ansible v2.24.0. Replace it with the regular bracket format
(e.g. ansible_facts["os_family"]) to remain compatible with newer
Ansible versions.

The fallbacks to the FQDN facts for yoda_fqdn are there so we have
a fallback in case the playbook is run with --tags
@stsnel
stsnel force-pushed the yda-7297-update-legacy-facts-name-format branch from 7180bb3 to dc37f14 Compare October 26, 2026 10:35
@stsnel
stsnel marked this pull request as ready for review October 26, 2026 16:11
@lwesterhof
lwesterhof self-requested a review October 27, 2026 07:00

@lwesterhof lwesterhof left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@lwesterhof
lwesterhof merged commit 58bd79c into development Oct 27, 2026
5 checks passed
@lwesterhof
lwesterhof deleted the yda-7297-update-legacy-facts-name-format branch October 27, 2026 07:56
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.

2 participants