Zack Williams | 41513bf | 2018-07-07 20:08:35 -0700 | [diff] [blame] | 1 | # 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 Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 14 | - hosts: cluster |
| 15 | remote_user: voltha |
| 16 | serial: 1 |
| 17 | vars: |
| 18 | target: cluster |
| 19 | roles: |
Stephane Barbarie | 2cbffca | 2018-03-26 16:20:03 -0400 | [diff] [blame] | 20 | - 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 Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 32 | |
| 33 | - hosts: k8s-master |
| 34 | remote_user: voltha |
| 35 | serial: 1 |
| 36 | roles: |
| 37 | - { |
Stephane Barbarie | 2cbffca | 2018-03-26 16:20:03 -0400 | [diff] [blame] | 38 | role: voltha-k8s, when: deploy_voltha is defined, |
Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 39 | monitor_voltha_stats: true, |
| 40 | use_ponsim: true |
| 41 | } |
| 42 | - { |
Stephane Barbarie | 2cbffca | 2018-03-26 16:20:03 -0400 | [diff] [blame] | 43 | role: voltha-k8s, |
Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 44 | when: teardown_voltha is defined |
| 45 | } |