Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit 4d8e209

Browse files
fix_asg_management_workaround_for_squashfs (#754)
* fix_asg_management_workaround_for_squashfs * fix_asg_management_workaround_for_squashfs
1 parent 87487c7 commit 4d8e209

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/deploy_code/tasks/cleanup.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@
255255
amazon.aws.autoscaling_group:
256256
name: "{{ asg_management.name }}"
257257
region: "{{ asg_management.region }}"
258-
profile: "{{ asg_management.profile | default(omit) }}"
258+
profile: "{{ asg_management.profile | default(aws_profile | default(omit)) }}"
259259
suspend_processes: []
260260
delegate_to: localhost
261261
run_once: true
@@ -266,7 +266,7 @@
266266
amazon.aws.autoscaling_instance_refresh:
267267
name: "{{ asg_management.name }}"
268268
region: "{{ asg_management.region }}"
269-
profile: "{{ asg_management.profile | default(omit) }}"
269+
profile: "{{ asg_management.profile | default(aws_profile | default(omit)) }}"
270270
strategy: Rolling
271271
preferences:
272272
min_healthy_percentage: 51

0 commit comments

Comments
 (0)