From d6bf048c349e83b9022f7b2468eaafd89eef5eba Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Sun, 18 Oct 2015 19:19:43 +0000 Subject: [PATCH] Use bool filter for ironic TrivialFix Change-Id: Idaa6376c8585b9bebe1d68a518f965124dfe6b76 --- ansible/roles/nova/templates/nova.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2 index b8855d3bc6..043f47ad08 100644 --- a/ansible/roles/nova/templates/nova.conf.j2 +++ b/ansible/roles/nova/templates/nova.conf.j2 @@ -59,7 +59,7 @@ scheduler_use_baremetal_filters = True compute_driver = libvirt.LibvirtDriver {% endif %} -{% if enable_ironic == 'yes' %} +{% if enable_ironic | bool %} [ironic] #(TODO) remember to update this once discoverd is replaced by inspector admin_username = {{ ironic_keystone_user }}