From 37e173d708a15ec0d8f248447733dbd71fa3c04d Mon Sep 17 00:00:00 2001
From: caoyuan <cao.yuan@99cloud.net>
Date: Mon, 27 Feb 2017 17:01:55 +0800
Subject: [PATCH] Update the panko location of site.yml

The panko database type can be mongodb, so the panko container should
boot after mongodb

Change-Id: Ide3a90a4882197bf361c794dccccbc195b89e5bb
Closes-Bug: #1668206
---
 ansible/site.yml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/ansible/site.yml b/ansible/site.yml
index 71fc23f427..be596a7e83 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -240,14 +240,6 @@
         tags: nova,
         when: enable_nova | bool }
 
-- name: Apply role panko
-  hosts: panko-api
-  serial: '{{ serial|default("0") }}'
-  roles:
-    - { role: panko,
-        tags: panko,
-        when: enable_panko | bool }
-
 # (gmmaha): Please do not change the order listed here. The current order is a
 # workaround to fix the bug https://bugs.launchpad.net/kolla/+bug/1546789
 - name: Apply role neutron
@@ -369,6 +361,14 @@
         tags: mongodb,
         when: enable_mongodb | bool }
 
+- name: Apply role panko
+  hosts: panko-api
+  serial: '{{ serial|default("0") }}'
+  roles:
+    - { role: panko,
+        tags: panko,
+        when: enable_panko | bool }
+
 - name: Apply role manila
   hosts:
     - manila-api
-- 
GitLab