From eddaa31aba4613a6124286286960d1ac10f4085b Mon Sep 17 00:00:00 2001
From: caoyuan <cao.yuan@99cloud.net>
Date: Wed, 31 Jan 2018 13:15:44 +0800
Subject: [PATCH] Add the missing serial for roll upgrade

Change-Id: Id5cebf9df86beb02ad85c4e287e7bda2c6d25a35
---
 ansible/site.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ansible/site.yml b/ansible/site.yml
index bb3bb82c0b..fdf5f1d82d 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -324,6 +324,7 @@
 - name: Apply role opendaylight
   gather_facts: false
   hosts: opendaylight
+  serial: '{{ serial|default("0") }}'
   roles:
     - { role: opendaylight,
         tags: opendaylight,
@@ -332,6 +333,7 @@
 - name: Apply role openvswitch
   hosts:
     - openvswitch
+  serial: '{{ serial|default("0") }}'
   roles:
     - { role: openvswitch,
         tags: openvswitch,
@@ -340,6 +342,7 @@
 - name: Apply role ovs-dpdk
   hosts:
     - openvswitch
+  serial: '{{ serial|default("0") }}'
   roles:
     - { role: ovs-dpdk,
         tags: ovs-dpdk,
@@ -378,6 +381,7 @@
   gather_facts: false
   hosts:
     - compute
+  serial: '{{ serial|default("0") }}'
   roles:
     - { role: kuryr,
         tags: kuryr,
-- 
GitLab