From ff28cf5069598b6d0c4dc5ce95d29f988d751354 Mon Sep 17 00:00:00 2001
From: Mariusz <mariusz.karpiarz@vscaler.com>
Date: Wed, 20 Feb 2019 14:46:35 +0000
Subject: [PATCH] Fix location of hostdirs for Murano services

Use "{{ node_config_directory }}/murano-api/" for `murano-api` and
"{{ node_config_directory }}/murano-engine/" for `murano-engine`, so
correct `config.json` are mounted in containers.

Change-Id: I824ff00f6b86aac3eab5dc6fd01728653b4661d1
Closes-Bug: 1811716
---
 ansible/roles/murano/defaults/main.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ansible/roles/murano/defaults/main.yml b/ansible/roles/murano/defaults/main.yml
index 74bcf52f3..3e5431a3a 100644
--- a/ansible/roles/murano/defaults/main.yml
+++ b/ansible/roles/murano/defaults/main.yml
@@ -8,7 +8,7 @@ murano_services:
     enabled: true
     image: "{{ murano_api_image_full }}"
     volumes:
-      - "{{ node_config_directory }}/murano-engine/:{{ container_config_directory }}/:ro"
+      - "{{ node_config_directory }}/murano-api/:{{ container_config_directory }}/:ro"
       - "{{ kolla_dev_repos_directory ~ '/murano/murano:/var/lib/kolla/venv/lib/python2.7/site-packages/murano' if murano_dev_mode | bool else '' }}"
       - "/etc/localtime:/etc/localtime:ro"
       - "kolla_logs:/var/log/kolla/"
@@ -30,7 +30,7 @@ murano_services:
     enabled: true
     image: "{{ murano_engine_image_full }}"
     volumes:
-      - "{{ node_config_directory }}/murano-api/:{{ container_config_directory }}/:ro"
+      - "{{ node_config_directory }}/murano-engine/:{{ container_config_directory }}/:ro"
       - "{{ kolla_dev_repos_directory ~ '/murano/murano:/var/lib/kolla/venv/lib/python2.7/site-packages/murano' if murano_dev_mode | bool else '' }}"
       - "/etc/localtime:/etc/localtime:ro"
       - "kolla_logs:/var/log/kolla/"
-- 
GitLab