Skip to content

Commit

Permalink
Fix empty survey variables
Browse files Browse the repository at this point in the history
  • Loading branch information
UNiXMIT committed Oct 15, 2024
1 parent 1d30445 commit d242b84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion win/initial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
availabilityZone: '{{ azEMEA }}'
awsAMI: '{{ amiEMEA }}'
securityGroups: '{{ securityGroupsEMEA }}'
when: userRegion | default("1") == "1"
when: userRegion | default("1") == "1" and userRegion | default("1") not in ["1", "2", "3"]

- name: AMS Region
set_fact:
Expand Down
2 changes: 1 addition & 1 deletion win/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
availability_zone: '{{ availabilityZone }}'
aws_profile: '{{ awsProfile }}'
instance_type: '{{ instanceType }}'
count: '{{ vmCount | default(1) | int }}'
count: '{{ vmCount | trim | default(1) | int }}'
volumes:
- device_name: '{{ deviceName }}'
ebs:
Expand Down

0 comments on commit d242b84

Please sign in to comment.