Allow = symbols in variable values in host inventory

pull/743/head
Ahmad Khayyat 12 years ago
parent 7d2877fbf9
commit 6728b6cdda

@ -168,7 +168,7 @@ class InventoryParser(object):
if line.find("=") == -1: if line.find("=") == -1:
raise errors.AnsibleError("variables assigned to group must be in key=value form") raise errors.AnsibleError("variables assigned to group must be in key=value form")
else: else:
(k,v) = line.split("=") (k,v) = line.split("=",1)
group.set_variable(k,v) group.set_variable(k,v)

Loading…
Cancel
Save