mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
ec2_group: fix regression for targets that are a list containing strings and lists (#45594)
* Fix targets that may be a list containing strings and lists which worked prior to 2.6. * Add ec2_group integration tests for lists of nested targets * changelog * Add diff mode support for lists of targets containing strings and lists.
This commit is contained in:
committed by
Ryan Brown
parent
cf1e0bde99
commit
d7ca3f2bd3
@@ -0,0 +1,6 @@
|
||||
---
|
||||
bugfixes:
|
||||
- ec2_group - Sanitize the ingress and egress rules before operating on them by flattening any lists
|
||||
within lists describing the target CIDR(s) into a list of strings. Prior to Ansible 2.6 the ec2_group
|
||||
module accepted a list of strings, a list of lists, or a combination of strings and lists within a list.
|
||||
https://github.com/ansible/ansible/pull/45594
|
||||
Reference in New Issue
Block a user