From 0dd4e79ca06e4c55a17a4901048415cbb88e18ed Mon Sep 17 00:00:00 2001 From: Mandar Kulkarni Date: Thu, 3 Oct 2024 10:36:14 -0700 Subject: [PATCH] minor fixes based on review feedback --- plugins/modules/elb_classic_lb_info.py | 12 +----------- .../targets/elb_classic_lb_info/meta/main.yml | 1 - .../targets/elb_classic_lb_info/vars/main.yml | 2 -- 3 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 tests/integration/targets/elb_classic_lb_info/meta/main.yml delete mode 100644 tests/integration/targets/elb_classic_lb_info/vars/main.yml diff --git a/plugins/modules/elb_classic_lb_info.py b/plugins/modules/elb_classic_lb_info.py index 29950af068f..308bc89ae39 100644 --- a/plugins/modules/elb_classic_lb_info.py +++ b/plugins/modules/elb_classic_lb_info.py @@ -8,6 +8,7 @@ --- module: elb_classic_lb_info version_added: 1.0.0 +version_added_collection: community.aws short_description: Gather information about EC2 Classic Elastic Load Balancers in AWS description: - Gather information about EC2 Classic Elastic Load Balancers in AWS. @@ -35,28 +36,17 @@ amazon.aws.elb_classic_lb_info: register: elb_info -- ansible.builtin.debug: - msg: "{{ item.dns_name }}" - loop: "{{ elb_info.elbs }}" - - name: Gather information about a particular ELB amazon.aws.elb_classic_lb_info: names: frontend-prod-elb register: elb_info -- ansible.builtin.debug: - msg: "{{ elb_info.elbs.0.dns_name }}" - - name: Gather information about a set of ELBs amazon.aws.elb_classic_lb_info: names: - frontend-prod-elb - backend-prod-elb register: elb_info - -- ansible.builtin.debug: - msg: "{{ item.dns_name }}" - loop: "{{ elb_info.elbs }}" """ RETURN = r""" diff --git a/tests/integration/targets/elb_classic_lb_info/meta/main.yml b/tests/integration/targets/elb_classic_lb_info/meta/main.yml deleted file mode 100644 index 32cf5dda7ed..00000000000 --- a/tests/integration/targets/elb_classic_lb_info/meta/main.yml +++ /dev/null @@ -1 +0,0 @@ -dependencies: [] diff --git a/tests/integration/targets/elb_classic_lb_info/vars/main.yml b/tests/integration/targets/elb_classic_lb_info/vars/main.yml deleted file mode 100644 index 79194af1ef5..00000000000 --- a/tests/integration/targets/elb_classic_lb_info/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for test_ec2_elb_lb