From a4be4c0dcfadf043e841b41276b7ea7ed6e8145f Mon Sep 17 00:00:00 2001
From: Dincer Celik <hello@dincercelik.com>
Date: Thu, 19 Sep 2019 16:26:14 +0300
Subject: [PATCH] Fix Octavia to use keystone_admin_project variable

Project name shouldn't be static as user may override it with
keystone_admin_project

Change-Id: If41b9d8de17985d960104c8daf27ea7d706c27c0
---
 ansible/roles/octavia/tasks/register.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansible/roles/octavia/tasks/register.yml b/ansible/roles/octavia/tasks/register.yml
index 7078006e05..c44ac4e202 100644
--- a/ansible/roles/octavia/tasks/register.yml
+++ b/ansible/roles/octavia/tasks/register.yml
@@ -14,7 +14,7 @@
     module_args:
       user: "{{ octavia_keystone_user }}"
       role: admin
-      project: admin
+      project: "{{ keystone_admin_project }}"
       auth: "{{ openstack_octavia_auth }}"
       endpoint_type: "{{ openstack_interface }}"
       cacert: "{{ openstack_cacert }}"
-- 
GitLab