Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix edit_config multiline commands on IOS (ansible#35375)
* Fix edit_config multiline commands on IOS The current code for multiline commands in IOS is broken: If you pass a dict containing a command, prompt and answer it is seen later as unicode string, but if you do a json.loads it fails as the keys/values are enclosed in single quotes but JSON requires double quotes. Fixes ansible#23539 * Fix pep8 * Use ast literal_eval It's safe to use, as it is just for types and wont execute arbitrary code.
- Loading branch information