mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Merge branch 'allow-equals-in-ini-vars' of https://github.com/worklez/ansible into worklez-allow-equals-in-ini-vars
This commit is contained in:
commit
4012f4bb95
3 changed files with 10 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue