* issue:38321 fix onyx_config module failed while using python = 3.5 (#38343)
(cherry picked from commit 0d79268a6d
)
* changelog
This commit is contained in:
parent
bb50c65769
commit
507423f111
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/onyx_config-py3-fix.yaml
Normal file
2
changelogs/fragments/onyx_config-py3-fix.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- Fix onyx_config action plugin when used on Python 3 https://github.com/ansible/ansible/pull/38343
|
|
@ -54,7 +54,7 @@ class ActionModule(_ActionModule):
|
|||
|
||||
# strip out any keys that have two leading and two trailing
|
||||
# underscore characters
|
||||
for key in result.keys():
|
||||
for key in list(result.keys()):
|
||||
if PRIVATE_KEYS_RE.match(key):
|
||||
del result[key]
|
||||
|
||||
|
|
Loading…
Reference in a new issue