mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-30 07:50:43 +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:
parent
cf1e0bde99
commit
d7ca3f2bd3
4 changed files with 268 additions and 4 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue