Unverified Commit 9655605a authored by Ioannis Tsafaras's avatar Ioannis Tsafaras Committed by Avraam Tsantekidis
Browse files

LAM-40 Removed unnecessary loop variable

parent 7eba20d0
......@@ -30,7 +30,7 @@ class Manager:
for host in self.inventory[group]["hosts"]:
ansible_host = ansible.inventory.host.Host(name=host)
host_vars = self.host_vars.iteritems()
for var_key, var_value in host_vars:
for var_key, var_value in self.host_vars.iteritems():
ansible_host.set_variable(var_key, var_value)
inventory_groups[-1].add_host(ansible_host)
......
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