qinling/tools/gate/kubeadm/playbook/deploy_k8s.yaml
Lingxian Kong 0eef3c88d2 Install same version for k8s CLIs and k8s control plane services
We use kubernetes 1.9.3 to run the tests.

An experimental zuul job to run tempest on CentOS 7 is also added.

Co-Authored-By: Hunt Xu <mhuntxu@gmail.com>

Change-Id: I757684b38e754b74420ee88304e05d09231b9d58
2018-03-29 17:22:31 +08:00

21 lines
401 B
YAML

---
- name: Deploy k8s cluster
hosts: localhost
become: true
become_method: sudo
gather_facts: false
pre_tasks:
- name: Install packages
package: name={{ item }} state=present update_cache=yes
with_items:
- python
- unzip
- name: Gather facts after python installation
setup: filter=ansible_*
roles:
- docker
- k8s_cli
- kube_master