mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Resolves #18312 python3 support for ec2.py
This commit is contained in:
parent
6ca6a9a291
commit
73da2663a3
1 changed files with 1 additions and 1 deletions
|
@ -1313,7 +1313,7 @@ class Ec2Inventory(object):
|
|||
elif key == 'ec2_tags':
|
||||
for k, v in value.items():
|
||||
if self.expand_csv_tags and ',' in v:
|
||||
v = map(lambda x: x.strip(), v.split(','))
|
||||
v = list(map(lambda x: x.strip(), v.split(',')))
|
||||
key = self.to_safe('ec2_tag_' + k)
|
||||
instance_vars[key] = v
|
||||
elif key == 'ec2_groups':
|
||||
|
|
Loading…
Reference in a new issue