Consolidate plays/tasks/tags
Simplify use of play-level tagging on three separate plays (with one task). Instead, make them all the same play, and apply the tags at the task level instead. Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
parent
25c49a8008
commit
4d119c2b14
1 changed files with 6 additions and 17 deletions
|
@ -57,29 +57,18 @@
|
||||||
vars_files:
|
vars_files:
|
||||||
- "{{ playbook_dir }}/vars.yml"
|
- "{{ playbook_dir }}/vars.yml"
|
||||||
environment: '{{ environment_variables }}'
|
environment: '{{ environment_variables }}'
|
||||||
tags:
|
|
||||||
- integration
|
|
||||||
- e2e
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Build and install cri-o
|
- name: Build and install cri-o
|
||||||
include: "build/cri-o.yml"
|
include: "build/cri-o.yml"
|
||||||
|
|
||||||
- hosts: '{{ subjects | default("all") }}'
|
|
||||||
vars_files:
|
|
||||||
- "{{ playbook_dir }}/vars.yml"
|
|
||||||
environment: '{{ environment_variables }}'
|
|
||||||
tags:
|
tags:
|
||||||
- integration
|
- always
|
||||||
tasks:
|
|
||||||
- name: run cri-o integration tests
|
- name: run cri-o integration tests
|
||||||
include: test.yml
|
include: test.yml
|
||||||
|
|
||||||
- hosts: '{{ subjects | default("all") }}'
|
|
||||||
vars_files:
|
|
||||||
- "{{ playbook_dir }}/vars.yml"
|
|
||||||
environment: '{{ environment_variables }}'
|
|
||||||
tags:
|
tags:
|
||||||
- e2e
|
- integration
|
||||||
tasks:
|
|
||||||
- name: run k8s e2e tests
|
- name: run k8s e2e tests
|
||||||
include: e2e.yml
|
include: e2e.yml
|
||||||
|
tags:
|
||||||
|
- e2e
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue