Add ansible scripts to deploy Kubernetes
[yardstick.git] / ansible / deploy_kube.yml
1 # Copyright (c) 2018-2019 Intel Corporation.
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.
14 ---
15 - hosts: master
16   become: yes
17   environment: "{{ proxy_env }}"
18   roles:
19   - set_package_installer_proxy
20   - install_dependencies_kubernetes
21   - docker
22   - install_go
23   - install_kube
24   - build_cni
25   - role: download_dpdk
26     dpdk_version: "17.02.1"
27   - install_dpdk
28   - init_kubeadm