Commit 5df5a14e by Toshio Kuratomi

Merge pull request #12101 from tquenolle/devel

Synchronize fix error
parents 82603bb2 c948af3b
...@@ -77,7 +77,7 @@ class ActionModule(ActionBase): ...@@ -77,7 +77,7 @@ class ActionModule(ActionBase):
# connection to the remote host # connection to the remote host
if 'ansible_syslog_facility' in task_vars: if 'ansible_syslog_facility' in task_vars:
del task_vars['ansible_syslog_facility'] 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"): if key.startswith("ansible_") and key.endswith("_interpreter"):
del task_vars[key] del task_vars[key]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment