Skip to content

Drop unused fedora.linux_system_roles dependency#46

Merged
RanabirChakraborty merged 1 commit into
mainfrom
drop-unused-linux-system-roles-dep
Jul 7, 2026
Merged

Drop unused fedora.linux_system_roles dependency#46
RanabirChakraborty merged 1 commit into
mainfrom
drop-unused-linux-system-roles-dep

Conversation

@hcherukuri

Copy link
Copy Markdown
Member

Summary

  • Remove the unused fedora.linux_system_roles collection dependency from galaxy.yml, requirements.yml, and molecule/requirements.yml.
  • This collection does not reference fedora.linux_system_roles in any module, plugin, filter, or role.

Problem

fedora.linux_system_roles requires community.general:>=6.6.0,<12.0.0 (RHEL 7 Python compatibility). Because middleware_automation.common declares it as a transitive dependency, consumers cannot install middleware_automation.keycloak (or any collection depending on common) alongside community.general >= 12.0.0.

Reported in ansible-middleware/keycloak#365 and related to linux-system-roles/linux-system-roles.github.io#137.

Breaking change / porting

Consumers that relied on transitive installation of fedora.linux_system_roles via middleware_automation.common must add it explicitly to their own requirements.yml if they still need it.

Test plan

  • ansible-galaxy collection install succeeds without pulling fedora.linux_system_roles
  • Molecule CI passes
  • Verify dependency resolution allows community.general >= 12 alongside middleware_automation.common

Made with Cursor

The collection does not use fedora.linux_system_roles in any module, plugin,
or role. Keeping it as a galaxy.yml dependency forces consumers to resolve
community.general to <12.0.0 via fedora.linux_system_roles, which blocks
installing middleware_automation.keycloak alongside community.general >= 12.

Fixes ansible-middleware/keycloak#365

Co-authored-by: Cursor <cursoragent@cursor.com>

@RanabirChakraborty RanabirChakraborty 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!

@RanabirChakraborty RanabirChakraborty merged commit 76b05d5 into main Jul 7, 2026
21 checks passed
@RanabirChakraborty RanabirChakraborty added the bugfixes Fixes that resolve issues. SHOULD not be used for minor enhancements label Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfixes Fixes that resolve issues. SHOULD not be used for minor enhancements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants