blob: 384435c175c1ef044a43ecd9211a90323627ce49 [file] [log] [blame]
Zack Williams41513bf2018-07-07 20:08:35 -07001# Copyright 2017-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
Stephane Barbariebcea2f42018-03-02 18:46:32 -050014- hosts: cluster
15 remote_user: voltha
16 serial: 1
17 vars:
18 target: cluster
19 roles:
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040020 - common
21 - cluster-host
22 - docker
23 - { role: voltha-k8s, when: config_voltha is defined }
24
25- hosts: cluster
26 remote_user: voltha
27 serial: 1
28 vars:
29 target: cluster
30 roles:
31 - glusterfs
Stephane Barbariebcea2f42018-03-02 18:46:32 -050032
33- hosts: k8s-master
34 remote_user: voltha
35 serial: 1
36 roles:
37 - {
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040038 role: voltha-k8s, when: deploy_voltha is defined,
Stephane Barbariebcea2f42018-03-02 18:46:32 -050039 monitor_voltha_stats: true,
40 use_ponsim: true
41 }
42 - {
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040043 role: voltha-k8s,
Stephane Barbariebcea2f42018-03-02 18:46:32 -050044 when: teardown_voltha is defined
45 }