integration: Use vars_files in plays

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>
This commit is contained in:
Chris Evich 2017-09-26 07:27:18 -04:00
parent a30a118fe6
commit 493a72bbc9
13 changed files with 101 additions and 86 deletions

View file

@ -1,7 +1,7 @@
- hosts: all
remote_user: root
vars:
xunit: false
vars_files:
- "{{ playbook_dir }}/vars.yml"
tags:
- setup
tasks:
@ -28,8 +28,8 @@
- hosts: all
remote_user: root
vars:
xunit: false
vars_files:
- "{{ playbook_dir }}/vars.yml"
tags:
- integration
- e2e
@ -39,8 +39,8 @@
- hosts: all
remote_user: root
vars:
xunit: false
vars_files:
- "{{ playbook_dir }}/vars.yml"
tags:
- integration
tasks:
@ -49,8 +49,10 @@
- hosts: all
remote_user: root
vars_files:
- "{{ playbook_dir }}/vars.yml"
tags:
- e2e
tasks:
- name: run k8s e2e tests
include: e2e.yml
include: e2e.yml