Skip to content

Commit 27031ea

Browse files
authored
Update guard condition on dynamic inventory AMI lookup (#191)
Signed-off-by: Jim Enright <[email protected]>
1 parent 3feb151 commit 27031ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/infrastructure/tasks/initialize_setup_aws.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
query: 'InstanceTypeOfferings[].InstanceType'
6464

6565
- name: Find AMI for Dynamic Inventory Deployment
66-
when: infra__dynamic_inventory_count
66+
when: infra__dynamic_inventory_count | int > 0
6767
block:
6868
- name: List suitable AMIs within our region
6969
amazon.aws.ec2_ami_info:

0 commit comments

Comments
 (0)