refactor: use ansible.posix 2.1.X for EL7 compatibility [citest_skip]#237
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuidePins the ansible.posix collection dependency to version 2.1.0 in the Ansible collection requirements to maintain EL7 compatibility. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Consider adding a short inline comment in
collection-requirements.ymlexplaining why ansible.posix is pinned to 2.1.0 (EL7 incompatibility with 2.2.0) to give future maintainers context for the fixed version. - If feasible, you might want to use a version range (e.g.,
<2.2.0) instead of an exact pin so that you can pick up compatible patch releases without further changes while still avoiding the broken version.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Consider adding a short inline comment in `collection-requirements.yml` explaining why ansible.posix is pinned to 2.1.0 (EL7 incompatibility with 2.2.0) to give future maintainers context for the fixed version.
- If feasible, you might want to use a version range (e.g., `<2.2.0`) instead of an exact pin so that you can pick up compatible patch releases without further changes while still avoiding the broken version.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
28a9027 to
ae647bc
Compare
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Comment |
ae647bc to
9449f26
Compare
The recently released ansible.posix 2.2.0 does not work on EL7. Pin the version of ansible.posix to 2.1.X. NOTE: Even though this role might not support EL7, this update is applied to all system roles for consistency. Plus, when this role is part of the system roles collection, all roles must use the same version of ansible.posix - there is no way for a role which is part of a collection to use a different version of a dependency than the version used by the other roles. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
9449f26 to
905be5d
Compare
The recently released ansible.posix 2.2.0 does not work on EL7.
Pin the version of ansible.posix to 2.1.X.
NOTE: Even though this role might not support EL7, this update
is applied to all system roles for consistency. Plus, when this
role is part of the system roles collection, all roles must use
the same version of ansible.posix - there is no way for a role
which is part of a collection to use a different version of a
dependency than the version used by the other roles.