diff --git a/roles/deploy_code/tasks/cleanup.yml b/roles/deploy_code/tasks/cleanup.yml index d3b1b8db..9db5403f 100644 --- a/roles/deploy_code/tasks/cleanup.yml +++ b/roles/deploy_code/tasks/cleanup.yml @@ -274,6 +274,7 @@ skip_matching: false state: started delegate_to: localhost + run_once: true when: - asg_management.name | length > 0 - asg_management.refresh_asg_instances