Skip to content

Commit

Permalink
revert changes as the bug is outside of ce-provision ansible-collecti…
Browse files Browse the repository at this point in the history
  • Loading branch information
tymofiisobchenko committed Nov 12, 2024
1 parent 2c217cf commit 0402a85
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions roles/aws/aws_ec2_autoscale_cluster/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
Port: "{{ aws_ec2_autoscale_cluster.alb_http_port }}"
DefaultActions:
- Type: forward
TargetGroupArn: "{{ _aws_ec2_target_group_created.target_group_arn }}"
TargetGroupName: "{{ aws_ec2_autoscale_cluster.name }}"
Rules: "{{ aws_ec2_autoscale_cluster.listeners_http.rules }}"
_aws_ec2_autoscale_cluster_listeners_redirect:
Protocol: HTTP
Expand All @@ -370,7 +370,7 @@
- CertificateArn: "{{ _ssl_certificate_ARN }}"
DefaultActions:
- Type: forward
TargetGroupArn: "{{ _aws_ec2_target_group_created.target_group_arn }}"
TargetGroupName: "{{ aws_ec2_autoscale_cluster.name }}"
Rules: "{{ aws_ec2_autoscale_cluster.listeners_https.rules }}"
when: aws_ec2_autoscale_cluster.create_elb

Expand Down Expand Up @@ -411,10 +411,6 @@
- aws_ec2_autoscale_cluster.alb_security_groups | length > 0
- aws_ec2_autoscale_cluster.create_elb

- name: Debug listeners
ansible.builtin.debug:
var: _aws_ec2_autoscale_cluster_listeners

- name: Create the ALB.
amazon.aws.elb_application_lb:
name: "{{ aws_ec2_autoscale_cluster.name }}"
Expand Down

0 comments on commit 0402a85

Please sign in to comment.