diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a99e588..e1d1aab6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,13 @@ # Ansible-Alicloud Change Log ## 1.10.0 (Unreleased) +IMPROVEMENTS: + +- Add creation_time attribute in ali_image_facts results ([#164](https://github.com/alibaba/ansible-provider/pull/164)) + BUG FIXES: +- Fix grouping dynamic inventory on security group bug ([#165](https://github.com/alibaba/ansible-provider/pull/165)) - Default to describe all instances in all regions ([#158](https://github.com/alibaba/ansible-provider/pull/158)) - Fix ecs_instance_filters last page describe bug ([#157](https://github.com/alibaba/ansible-provider/pull/157)) - Fix ecs_instance_filters's page_size bug ([#156](https://github.com/alibaba/ansible-provider/pull/156)) diff --git a/contrib/inventory/alicloud.py b/contrib/inventory/alicloud.py index 443cdc7c..f3b32fa7 100755 --- a/contrib/inventory/alicloud.py +++ b/contrib/inventory/alicloud.py @@ -386,7 +386,7 @@ def add_instance(self, instance, region): # Inventory: Group by security group if self.group_by_security_group: - for group in instance.security_group_ids: + for group in instance.security_group_ids['security_group_id']: key = self.to_safe("security_group_" + group) self.push(self.inventory, key, hostname) if self.nested_groups: