fix options_vars iteration for py3

pull/15335/head
nitzmahone 9 years ago
parent 83a17662cc
commit eac4cf1177

@ -407,7 +407,7 @@ class VariableManager:
variables['omit'] = self._omit_token
variables['ansible_version'] = CLI.version_info(gitinfo=False)
# Set options vars
for option, option_value in self._options_vars.iteritems():
for option, option_value in iteritems(self._options_vars):
variables[option] = option_value
if self._hostvars is not None and include_hostvars:

Loading…
Cancel
Save