-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pin ansible-core
to earlier than 2.16.3
#179
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 with one tiny change requested
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jsf9k Sorry this only came to me yesterday but I would like to add a dependabot ignore directive for this newly explicit dependency here:
skeleton-ansible-role/.github/dependabot.yml
Lines 27 to 30 in 1666745
# ignore: | |
# # Managed by cisagov/skeleton-ansible-role | |
# - dependency-name: ansible | |
# - dependency-name: ansible-lint |
I don't know if it's strictly necessary but I would like to avoid a storm of dependabot PRs around this dependency downstream.
Please see commit 13219ff. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approval intensifies.
See also cisagov/skeleton-packer#315. |
ansible-core 2.16.3 and later suffer from the bug discussed in ansible/ansible#82702, which breaks any symlinked files in vars, tasks, etc. for any Ansible role installed via ansible-galaxy.
Co-authored-by: dav3r <[email protected]>
Co-authored-by: Nick <[email protected]>
13219ff
to
c61ebc7
Compare
…mmit_hook Add a pre-commit hook to run `pip-audit`
🗣 Description
This pull request pins the
ansible-core
Python package's version to earlier than 2.16.3.💭 Motivation and context
ansible-core
2.16.3 and later suffer from the bug discussed in ansible/ansible#82702, which breaks any symlinked files invars
,tasks
, etc. for any Ansible role installed viaansible-galaxy
. This results, e.g., in AMI build failures as seen in cisagov/openvpn-packer#101.🧪 Testing
All automated testing passes in this pull request, and in cisagov/openvpn-packer#101 the build gets further than it did upon addition of a similar change via cisagov/skeleton-packer#311. (The build continues to fail, but for a different reason.)
✅ Pre-approval checklist