From 7a9fa2e53099d24181e30a9117af128b02e6a8e3 Mon Sep 17 00:00:00 2001
From: Ian Wienand <iwienand@redhat.com>
Date: Thu, 7 May 2020 13:09:04 +1000
Subject: [PATCH] nodepool-builder: fix servername

This should be set for each host's name; this looks like it was just
not templated correctly from the initial commit
I230f5291e0bd928af2e00966d76c3f385b749cb6.

Change-Id: If86ee21268c0fe6bb60c61750f551db89234ed0e
---
 playbooks/roles/nodepool-builder/templates/vhost.conf.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/playbooks/roles/nodepool-builder/templates/vhost.conf.j2 b/playbooks/roles/nodepool-builder/templates/vhost.conf.j2
index e7e546747d..88a268b79c 100644
--- a/playbooks/roles/nodepool-builder/templates/vhost.conf.j2
+++ b/playbooks/roles/nodepool-builder/templates/vhost.conf.j2
@@ -12,7 +12,7 @@
 
 
 <VirtualHost *:443>
-  ServerName nb01.openstack.org
+  ServerName {{ inventory_hostname }}
 
   SSLEngine on
 
@@ -58,4 +58,4 @@
   CustomLog /var/log/apache2/nodepool_access.log combined
   ServerSignature Off
 
-</VirtualHost>
\ No newline at end of file
+</VirtualHost>