You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: roles/asg_management/defaults/main.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ asg_management:
4
4
name: ""# if the deploy is on an ASG put the name here
5
5
#target_group_name: "example" # matches the ASG name by default, specify if your TargetGroup name is different (for example due to the 32-char name length limit in AWS)
6
6
refresh_asg_instances: true # runs only if squashFS image unmount failed and this set to true.
7
-
#profile: "example" # optional, the boto profile name to use if not the system default
7
+
profile: "{{ lookup('env','AWS_PROFILE') | trim | default(omit) }}"# the boto profile name to use if not the system default (if doesn't exist, then EC2 instance IAM profile will be used)
8
8
region: "eu-west-1"
9
9
suspend_processes: "Launch Terminate HealthCheck"# space separated string, see https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html
10
10
pause: 10# localhost ping count, to wait before polling the AWS API again for instance statuses (instead of ansible 'pause' module which seems to be buggy and hangs sometimes)
0 commit comments