From c05c26dcbe9b671f8290f88c51b858b5678e9a5f Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Fri, 22 Oct 2021 10:32:07 +0200 Subject: [PATCH] Add regression test --- .../targets/elb_classic_lb_info/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/integration/targets/elb_classic_lb_info/tasks/main.yml b/tests/integration/targets/elb_classic_lb_info/tasks/main.yml index 16da29013b6..67e698d3158 100644 --- a/tests/integration/targets/elb_classic_lb_info/tasks/main.yml +++ b/tests/integration/targets/elb_classic_lb_info/tasks/main.yml @@ -289,6 +289,17 @@ - info.elbs|length==1 - info.elbs[0].load_balancer_name == tag_prefix + # ============================================================ + + - name: get all load balancers + elb_classic_lb_info: + names: "{{ omit }}" + register: info + + - assert: + that: + - info.elbs|length>0 + always: # ============================================================