Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion roles/deploy_code/tasks/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@
delegate_to: localhost
run_once: true
when:
- asg_management.name is defined
- asg_management.name | length > 0

- name: Run ASG instance refresh.
Expand All @@ -276,6 +277,7 @@
delegate_to: localhost
run_once: true
when:
- asg_management.name is defined
- asg_management.name | length > 0
- asg_management.refresh_asg_instances

Expand All @@ -290,7 +292,7 @@
when:
- deploy_code.service_action == "stop"
- deploy_code.services | length > 0
- not asg_management.refresh_asg_instances or (asg_management.name | length) == 0
- not asg_management.refresh_asg_instances or asg_management.name is not defined
# End of the squashFS block.

- name: Trigger an infrastructure rebuild.
Expand Down