Commit 6728b6cd by Ahmad Khayyat

Allow = symbols in variable values in host inventory

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