Skip to content

refactor(selinux): replace deprecated fact vars#845

Merged
SuperQ merged 1 commit into
prometheus-community:mainfrom
PendaGTP:refactor/use-ansible_facts-in-selinux-tasks
Jul 8, 2026
Merged

refactor(selinux): replace deprecated fact vars#845
SuperQ merged 1 commit into
prometheus-community:mainfrom
PendaGTP:refactor/use-ansible_facts-in-selinux-tasks

Conversation

@PendaGTP

@PendaGTP PendaGTP commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Currently, selinux tasks use some ansible facts without using ansible_facts, this cause issue when using inject_facts_as_vars = False, since these variables will not be defined.

This PR address this issue.

Signed-off-by: PendaGTP <38917281+PendaGTP@users.noreply.github.com>
@PendaGTP PendaGTP force-pushed the refactor/use-ansible_facts-in-selinux-tasks branch from 63b2c16 to 5aa9854 Compare July 6, 2026 07:42
@github-actions github-actions Bot added trivial and removed trivial labels Jul 6, 2026
@PendaGTP

PendaGTP commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

FYI CI failures are not related to this change but errors comes from rate limiting and timeouts.

@SuperQ

SuperQ commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Yes, tests that touch all roles tend to randomly fail due to the load.

@SuperQ SuperQ merged commit ece1255 into prometheus-community:main Jul 8, 2026
1247 of 1251 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment