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:
parent
7d2877fbf9
commit
6728b6cdda
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue