summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorSloane Hertel <shertel@redhat.com>2018-09-25 18:34:04 -0400
committerMatt Clay <matt@mystile.com>2018-09-25 15:34:04 -0700
commit0be82f2b082e7a826106e968bd6a842884c8d1d3 (patch)
tree6d26a8c8d61e3f5c24613238d5aecce4d0017e43 /changelogs
parentfe2c9cdf13b5e532217d558ac16fbb9a945529c2 (diff)
downloadansible-0be82f2b082e7a826106e968bd6a842884c8d1d3.tar.gz
[2.6] ec2_group: fix regression for targets that are a list containing strings and lists (#45748)
* Fix targets that may be a list containing strings and lists which worked prior to 2.6. (cherry picked from commit 450fb9f855ae7090acbdea3e726082d4038994f8) * Add ec2_group integration tests for lists of nested targets (cherry picked from commit 14e3399db162c7ddaa9cb9aa6c8a476471a376c2) * changelog (cherry picked from commit fb17db0876d75cb629a0ed180ead1058e15a737b)
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/fragments/ec2_group_fix_target_containing_list_within_list.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/changelogs/fragments/ec2_group_fix_target_containing_list_within_list.yaml b/changelogs/fragments/ec2_group_fix_target_containing_list_within_list.yaml
new file mode 100644
index 0000000000..5302d5dd9f
--- /dev/null
+++ b/changelogs/fragments/ec2_group_fix_target_containing_list_within_list.yaml
@@ -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