From 6fc78d941c81a9ee8d5e291efe2c76bcf4ca3d28 Mon Sep 17 00:00:00 2001 From: Logan V Date: Tue, 21 Feb 2017 23:05:48 -0600 Subject: [PATCH] Fix cell enrollment wait conditional Cast nova_discover_hosts_in_cells_interval to integer before checking to see that it is < 1. Change-Id: I94b18590f2e7c21a192da685aa8d9873d6eb8768 --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 56fb46dd..95055af6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -89,7 +89,7 @@ when: - "{{ 'nova_compute' in group_names }}" - "{{ nova_service_restart | default(dict(changed=False)) | changed }}" - - "{{ nova_discover_hosts_in_cells_interval < 1 }}" + - "{{ nova_discover_hosts_in_cells_interval | int < 1 }}" tags: - nova-config