1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Allow = symbols in variable values in host inventory

This commit is contained in:
Ahmad Khayyat 2012-07-31 23:36:26 -04:00
parent 7d2877fbf9
commit 6728b6cdda

View file

@ -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)