-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
proxmox_template: Prevent utf-8 codec error in py3 #44228
proxmox_template: Prevent utf-8 codec error in py3 #44228
Conversation
Cannot upload templates in Python 3.x. Gives utf-8 codec error. Fixes this by opening the template file in binary mode.
Sorry @UnderGreen |
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.
shipit
@UnderGreen If you could review this again we can look at getting this merged and backported, thanks in advance |
shipit |
rebuild_merge |
^^^ Bot failed to automerge this (crashed with tb), trying the command above instead. |
SUMMARY
Cannot upload templates in Python 3.x. Gives
utf-8 codec
error.Fixes this by opening the template file in binary mode.
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
ADDITIONAL INFORMATION