Skip to content

Commit

Permalink
update module fqcn in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mandar242 committed Oct 21, 2024
1 parent 565357f commit 5c21687
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
that:
- info.network_interfaces | length > 0

- community.aws.elb_classic_lb_info:
- amazon.aws.elb_classic_lb_info:
names: ["{{ elb_name }}"]
register: info

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
that:
- info.network_interfaces | length > 0

- community.aws.elb_classic_lb_info:
- amazon.aws.elb_classic_lb_info:
names: ["{{ elb_name }}"]
register: info

Expand Down
16 changes: 8 additions & 8 deletions tests/integration/targets/elb_classic_lb_info/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
- '[8080, 8080, "HTTP", "HTTP"] in create.elb.listeners'

- name: Get ELB info
elb_classic_lb_info:
amazon.aws.elb_classic_lb_info:
names: '{{ elb_name }}'
register: info

Expand Down Expand Up @@ -139,7 +139,7 @@
- update_az.elb.zones[0] == aws_region ~ 'c'

- name: Get ELB info after changing AZ's
elb_classic_lb_info:
amazon.aws.elb_classic_lb_info:
names: '{{ elb_name }}'
register: info

Expand Down Expand Up @@ -177,7 +177,7 @@
- aws_region ~ 'c' in update_az.elb.zones

- name: Get ELB info after updating AZ's
elb_classic_lb_info:
amazon.aws.elb_classic_lb_info:
names: '{{ elb_name }}'
register: info

Expand Down Expand Up @@ -216,7 +216,7 @@
- purge_listeners.elb.listeners|length == 1

- name: Get ELB info after purging listeners
elb_classic_lb_info:
amazon.aws.elb_classic_lb_info:
names: '{{ elb_name }}'
register: info

Expand Down Expand Up @@ -256,7 +256,7 @@
- update_listeners.elb.listeners|length == 2

- name: Get ELB info after adding listeners
elb_classic_lb_info:
amazon.aws.elb_classic_lb_info:
names: '{{ elb_name }}'
register: info

Expand All @@ -276,7 +276,7 @@

# Test getting nonexistent load balancer
- name: get nonexistent load balancer
elb_classic_lb_info:
amazon.aws.elb_classic_lb_info:
names: invalid-elb
register: info

Expand All @@ -286,7 +286,7 @@

# Test getting a valid and nonexistent load balancer
- name: get nonexistent load balancer
elb_classic_lb_info:
amazon.aws.elb_classic_lb_info:
names: ['{{ elb_name }}', invalid-elb]
register: info

Expand All @@ -298,7 +298,7 @@
# ============================================================

- name: get all load balancers
elb_classic_lb_info:
amazon.aws.elb_classic_lb_info:
names: '{{ omit }}'
register: info

Expand Down

0 comments on commit 5c21687

Please sign in to comment.