mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Allow equal sign in single-line ini variables
This commit is contained in:
committed by
Ilya Kuznetsov
parent
22cfef33b4
commit
0658847ea6
@@ -119,7 +119,7 @@ class InventoryParser(object):
|
||||
if t.startswith('#'):
|
||||
break
|
||||
try:
|
||||
(k,v) = t.split("=")
|
||||
(k,v) = t.split("=", 1)
|
||||
except ValueError, e:
|
||||
raise errors.AnsibleError("Invalid ini entry: %s - %s" % (t, str(e)))
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user