mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #743 from akhayyat/devel
Allow = symbols in variable values in host inventory
This commit is contained in:
commit
db9955d3df
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue