From d9a11a3a0742ad3ee6bc520797843e8803ab50f9 Mon Sep 17 00:00:00 2001 From: John Garbutt Date: Mon, 4 Sep 2017 13:29:53 +0100 Subject: [PATCH] Fix typo in ironic prechecks Before this change ironic prechecks failed with the error: 'tenant_network_types' is undefined This problem appears to have been introduced in: 296ddbeb035c6f582b316f066fe2ddffece07aca Closes-Bug: #1714946 Change-Id: I609ae20c4558370a0a8c4c316cd47cbd1d086331 --- ansible/roles/ironic/tasks/precheck.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/ironic/tasks/precheck.yml b/ansible/roles/ironic/tasks/precheck.yml index 5456ea6d30..dca50cf8d6 100644 --- a/ansible/roles/ironic/tasks/precheck.yml +++ b/ansible/roles/ironic/tasks/precheck.yml @@ -44,5 +44,5 @@ - name: Looking for 'flat' in tenant network types local_action: fail msg="'flat' is not in neutron_tenant_network_types [{{ neutron_tenant_network_types }}]" changed_when: false - when: tenant_network_types.find('flat') == -1 + when: neutron_tenant_network_types.find('flat') == -1 run_once: true