Commit db9955d3 by Michael DeHaan

Merge pull request #743 from akhayyat/devel

Allow = symbols in variable values in host inventory
parents 7d2877fb 6728b6cd
...@@ -168,7 +168,7 @@ class InventoryParser(object): ...@@ -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)
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