diff --git a/roles/deploy_code/tasks/cleanup.yml b/roles/deploy_code/tasks/cleanup.yml index b5af885f..6806bfcb 100644 --- a/roles/deploy_code/tasks/cleanup.yml +++ b/roles/deploy_code/tasks/cleanup.yml @@ -274,6 +274,7 @@ when: - asg_management.name is defined - asg_management.name | length > 0 + - asg_management.refresh_asg_instances is defined - asg_management.refresh_asg_instances - name: Start any services we stopped if the image re-mounting failed and ASG management is disabled.