From 5ca0854ef03cb811bec67b2075749a1e36e146c2 Mon Sep 17 00:00:00 2001
From: Mark Goddard <mark@stackhpc.com>
Date: Fri, 28 Jul 2017 11:20:49 +0000
Subject: [PATCH] Fix seed introspection rules

Variable names were incorrect following a recent change to overcloud introspection
rules configuration.
---
 ansible/group_vars/all/bifrost       | 2 +-
 ansible/seed-introspection-rules.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ansible/group_vars/all/bifrost b/ansible/group_vars/all/bifrost
index 5770f21b..7dd1a5e2 100644
--- a/ansible/group_vars/all/bifrost
+++ b/ansible/group_vars/all/bifrost
@@ -65,7 +65,7 @@ kolla_bifrost_inspector_ipmi_password: "{{ ipmi_password }}"
 
 # Ironic inspector network interface name on which to check for an LLDP switch
 # port description to use as the node's name.
-kolla_bifrost_inspector_lldp_switch_port_interface: "{{ inspector_lldp_switch_port_interface }}"
+kolla_bifrost_inspector_lldp_switch_port_interface: "{{ inspector_lldp_switch_port_interface_default }}"
 
 # Ironic inspector deployment kernel location.
 kolla_bifrost_inspector_deploy_kernel: "http://{{ provision_oc_net_name | net_ip }}:8080/ipa.vmlinuz"
diff --git a/ansible/seed-introspection-rules.yml b/ansible/seed-introspection-rules.yml
index f80b5e88..bb5bf7d2 100644
--- a/ansible/seed-introspection-rules.yml
+++ b/ansible/seed-introspection-rules.yml
@@ -14,6 +14,6 @@
       # These variables may be referenced in the introspection rules.
       inspector_rule_var_ipmi_username: "{{ kolla_bifrost_inspector_ipmi_username }}"
       inspector_rule_var_ipmi_password: "{{ kolla_bifrost_inspector_ipmi_password }}"
-      inspector_rule_var_lldp_switch_port_interface: "{{ kolla_bifrost_inspector_lldp_switch_port_interface_default }}"
+      inspector_rule_var_lldp_switch_port_interface: "{{ kolla_bifrost_inspector_lldp_switch_port_interface }}"
       inspector_rule_var_deploy_kernel: "{{ kolla_bifrost_inspector_deploy_kernel }}"
       inspector_rule_var_deploy_ramdisk: "{{ kolla_bifrost_inspector_deploy_ramdisk }}"
-- 
GitLab