Skip to content

Commit

Permalink
minor fixes based on review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mandar242 committed Oct 3, 2024
1 parent 080348a commit 0dd4e79
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
12 changes: 1 addition & 11 deletions plugins/modules/elb_classic_lb_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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"""
Expand Down

This file was deleted.

2 changes: 0 additions & 2 deletions tests/integration/targets/elb_classic_lb_info/vars/main.yml

This file was deleted.

0 comments on commit 0dd4e79

Please sign in to comment.