1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Process CacheNodeIdsToReboot complex type for cache clusters

This commit is contained in:
Victor Schröder 2015-06-14 23:27:16 +02:00
parent ffd74049da
commit 43f9a653d0

View file

@ -1099,6 +1099,7 @@ class Ec2Inventory(object):
if key == 'ec2_member_clusters' and value:
host_info['ec2_member_clusters'] = ','.join([str(i) for i in value])
elif key == 'ec2_cache_parameter_group':
host_info["ec2_cache_node_ids_to_reboot"] = ','.join([str(i) for i in value['CacheNodeIdsToReboot']])
host_info['ec2_cache_parameter_group_name'] = value['CacheParameterGroupName']
host_info['ec2_cache_parameter_apply_status'] = value['ParameterApplyStatus']
elif key == 'ec2_security_groups':