0eef3c88d2
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
21 lines
401 B
YAML
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 |