Skip to content

Commit

Permalink
Replace obsolete Lauch Configuration by Launch Template.
Browse files Browse the repository at this point in the history
  • Loading branch information
MariuszJozwiak committed May 15, 2023
1 parent a44b078 commit 64b876e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions site.maintenance.aws-stop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,6 @@
- role: cs.aws-autoscaling-facts

tasks:
- name: Stop standalone EC2 instances
when: stop_ec2
ec2:
instance_ids: "{{ item.instance_id }}"
region: "{{ aws_region }}"
state: stopped
wait: no
with_items:
- "{{ aws_persistent_node_instance }}"
- "{{ aws_varnish_node_instance }}"

- name: Scale down all App Node ASGs
when: stop_asg


- name: Stop standalone EC2 instances
when: stop_ec2
ec2:
Expand Down

0 comments on commit 64b876e

Please sign in to comment.