Synchronize fix error
Fix the error: "RuntimeError: dictionary changed size during iteration"
This commit is contained in:
parent
601a1cc6d9
commit
c948af3b1e
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class ActionModule(ActionBase):
|
|||
# connection to the remote host
|
||||
if 'ansible_syslog_facility' in task_vars:
|
||||
del task_vars['ansible_syslog_facility']
|
||||
for key in task_vars:
|
||||
for key in task_vars.keys():
|
||||
if key.startswith("ansible_") and key.endswith("_interpreter"):
|
||||
del task_vars[key]
|
||||
|
||||
|
|
Loading…
Reference in a new issue