-
-
Notifications
You must be signed in to change notification settings - Fork 420
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
yedit.py uses deprecated yaml.load and yaml.safe_load from ruamel.yaml #496
Comments
Thank you @honibis for reporting the problem. could you point out the complete error? If possible, try the latest available version of the yedit module - https://github.com/kwoodson/ansible-role-yedit/blob/master/library/yedit.py It would also be nice to report a problem in the repository of the module |
Just reported to yedit too, guess its not quite actively maintained since no-one answered the question "still maintained" asked 3 weeks ago. This is the error output from playbook:
|
Thanks! I think it's worth waiting for a response. |
@honibis Feel free to create a PR. |
|
I suggest leaving the issue open until the issue is fully resolved in the I see the following options:
|
Fixed #529 |
Just installed latest version with latest python and came across deprecation error. ruamel.yaml no longer exposes load and safe_load methods.
in yedit.py i commented 3 lines from line 189 to disable ruamel.yaml and it worked. I dont know about these subjects but still might be useful for people who dont use python, or you might fix it for better.
The text was updated successfully, but these errors were encountered: