-
Notifications
You must be signed in to change notification settings - Fork 1
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 the Python package ansible-core
to earlier than 2.16.3
#311
Conversation
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.
I believe the Snyk failure can be ignored, since we must pin in order for the code to function. |
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.
👍 🔎
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.
Thanks for hunting this down. One comment for your consideration and then a question: Should we do the same thing for cisagov/skeleton-ansible-role?
68b5c50
to
99fda06
Compare
This issue reminds us to remove the pin against ansible-core when that becomes possible.
99fda06
to
842e165
Compare
Co-authored-by: Nick <[email protected]>
🗣 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 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 these changes. (The build continues to fail, but for a different reason.)
✅ Pre-approval checklist