|
@@ -1,6 +1,6 @@
|
|
|
---
|
|
|
# NOTE: this test is probably superfluous since openshift_version already does it
|
|
|
-- include: ../../setup_container.yml
|
|
|
+- import_playbook: ../../setup_container.yml
|
|
|
vars:
|
|
|
image: preflight-aos-package-checks
|
|
|
l_host_vars:
|
|
@@ -16,14 +16,14 @@
|
|
|
- block:
|
|
|
|
|
|
# put the repo back to disabled
|
|
|
- - include: tasks/enable_repo.yml
|
|
|
+ - include_tasks: tasks/enable_repo.yml
|
|
|
vars: { repo_name: "ose-3.2", repo_enabled: 0 }
|
|
|
# test with wrong repo enabled
|
|
|
- - include: tasks/enable_repo.yml
|
|
|
+ - include_tasks: tasks/enable_repo.yml
|
|
|
vars: { repo_name: "ose-3.3" }
|
|
|
- action: openshift_health_check
|
|
|
args:
|
|
|
checks: [ 'package_version' ]
|
|
|
|
|
|
always: # destroy the container whether check passed or not
|
|
|
- - include: ../../teardown_container.yml
|
|
|
+ - include_tasks: ../../teardown_container.yml
|