Skip to content

Commit

Permalink
Update Examples with FQCN (ansible-collections#67)
Browse files Browse the repository at this point in the history
Updated module examples with FQCN

Signed-off-by: Abhijeet Kasurde <[email protected]>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@98173ae
  • Loading branch information
Akasurde authored and mandar242 committed Oct 21, 2024
1 parent ded2bec commit 2346e58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/modules/elb_classic_lb_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,26 +43,26 @@

EXAMPLES = '''
# Note: These examples do not set authentication details, see the AWS Guide for details.
# Output format tries to match ec2_elb_lb module input parameters
# Output format tries to match amazon.aws.ec2_elb_lb module input parameters
# Gather information about all ELBs
- elb_classic_lb_info:
- community.aws.elb_classic_lb_info:
register: elb_info
- debug:
msg: "{{ item.dns_name }}"
loop: "{{ elb_info.elbs }}"
# Gather information about a particular ELB
- elb_classic_lb_info:
- community.aws.elb_classic_lb_info:
names: frontend-prod-elb
register: elb_info
- debug:
msg: "{{ elb_info.elbs.0.dns_name }}"
# Gather information about a set of ELBs
- elb_classic_lb_info:
- community.aws.elb_classic_lb_info:
names:
- frontend-prod-elb
- backend-prod-elb
Expand Down

0 comments on commit 2346e58

Please sign in to comment.