From 43f9a653d0c6edf0a6c69587ef76f094e7fa1e90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20Schr=C3=B6der?= Date: Sun, 14 Jun 2015 23:27:16 +0200 Subject: [PATCH] Process CacheNodeIdsToReboot complex type for cache clusters --- plugins/inventory/ec2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/inventory/ec2.py b/plugins/inventory/ec2.py index 4b205c0d95..4bdde428ce 100755 --- a/plugins/inventory/ec2.py +++ b/plugins/inventory/ec2.py @@ -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':