mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Parse out space characters in route53 value list
Fixes: https://github.com/ansible/ansible-modules-core/issues/992
This commit is contained in:
@@ -293,7 +293,7 @@ def main():
|
|||||||
|
|
||||||
if type(value_in) is str:
|
if type(value_in) is str:
|
||||||
if value_in:
|
if value_in:
|
||||||
value_list = sorted(value_in.split(','))
|
value_list = sorted([s.strip() for s in value_in.split(',')])
|
||||||
elif type(value_in) is list:
|
elif type(value_in) is list:
|
||||||
value_list = sorted(value_in)
|
value_list = sorted(value_in)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user