mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Allow "=" in k-v values.
This commit is contained in:
parent
f8abf67ebe
commit
639763c138
2 changed files with 8 additions and 1 deletions
|
@ -295,7 +295,7 @@ def parse_kv(args):
|
|||
vargs = shlex.split(args, posix=True)
|
||||
for x in vargs:
|
||||
if x.find("=") != -1:
|
||||
k, v = x.split("=")
|
||||
k, v = x.split("=", 1)
|
||||
options[k]=v
|
||||
return options
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue