493a72bbc9
It's unsightly and hard to maintain collections of references and long lists across multiple playbooks/include files. Centralize them all in ``vars.yml``, then include that in all plays. Minor: Update all files with a newline at the start and end. Signed-off-by: Chris Evich <cevich@redhat.com>
58 lines
1.2 KiB
YAML
58 lines
1.2 KiB
YAML
- hosts: all
|
|
remote_user: root
|
|
vars_files:
|
|
- "{{ playbook_dir }}/vars.yml"
|
|
tags:
|
|
- setup
|
|
tasks:
|
|
- name: set up the system
|
|
include: system.yml
|
|
|
|
- name: install Golang tools
|
|
include: golang.yml
|
|
|
|
- name: clone build and install bats
|
|
include: "build/bats.yml"
|
|
|
|
- name: clone build and install cri-tools
|
|
include: "build/cri-tools.yml"
|
|
|
|
- name: clone build and install kubernetes
|
|
include: "build/kubernetes.yml"
|
|
|
|
- name: clone build and install runc
|
|
include: "build/runc.yml"
|
|
|
|
- name: clone build and install networking plugins
|
|
include: "build/plugins.yml"
|
|
|
|
- hosts: all
|
|
remote_user: root
|
|
vars_files:
|
|
- "{{ playbook_dir }}/vars.yml"
|
|
tags:
|
|
- integration
|
|
- e2e
|
|
tasks:
|
|
- name: clone build and install cri-o
|
|
include: "build/cri-o.yml"
|
|
|
|
- hosts: all
|
|
remote_user: root
|
|
vars_files:
|
|
- "{{ playbook_dir }}/vars.yml"
|
|
tags:
|
|
- integration
|
|
tasks:
|
|
- name: run cri-o integration tests
|
|
include: test.yml
|
|
|
|
- hosts: all
|
|
remote_user: root
|
|
vars_files:
|
|
- "{{ playbook_dir }}/vars.yml"
|
|
tags:
|
|
- e2e
|
|
tasks:
|
|
- name: run k8s e2e tests
|
|
include: e2e.yml
|