diff options
author | Luke Meyer <lmeyer@redhat.com> | 2017-05-22 13:53:32 -0400 |
---|---|---|
committer | Luke Meyer <lmeyer@redhat.com> | 2017-05-22 14:35:04 -0400 |
commit | 8fc3eecb2a8a28faa9ee28aab808fce47d611514 (patch) | |
tree | 5e10010611622c43af7ac49dc18edaabb0daeb8d /test/integration/openshift_health_checker/preflight/playbooks/package_availability_missing_required.yml | |
parent | 820c100ad4ddb5f53c4c6ac4ce3fc26e8788e261 (diff) | |
download | openshift-8fc3eecb2a8a28faa9ee28aab808fce47d611514.tar.gz openshift-8fc3eecb2a8a28faa9ee28aab808fce47d611514.tar.bz2 openshift-8fc3eecb2a8a28faa9ee28aab808fce47d611514.tar.xz openshift-8fc3eecb2a8a28faa9ee28aab808fce47d611514.zip |
preflight int tests: fix for openshift_version dep
Diffstat (limited to 'test/integration/openshift_health_checker/preflight/playbooks/package_availability_missing_required.yml')
-rw-r--r-- | test/integration/openshift_health_checker/preflight/playbooks/package_availability_missing_required.yml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/test/integration/openshift_health_checker/preflight/playbooks/package_availability_missing_required.yml b/test/integration/openshift_health_checker/preflight/playbooks/package_availability_missing_required.yml index 31d0d521e..a557282b4 100644 --- a/test/integration/openshift_health_checker/preflight/playbooks/package_availability_missing_required.yml +++ b/test/integration/openshift_health_checker/preflight/playbooks/package_availability_missing_required.yml @@ -1,4 +1,5 @@ --- +# NOTE: this test is probably superfluous since openshift_version already does it - include: ../../setup_container.yml vars: image: preflight-aos-package-checks @@ -7,11 +8,22 @@ - name: Fail as required packages cannot be installed hosts: all + pre_tasks: + + # run before roles to prevent openshift_version breaking + - include: tasks/enable_repo.yml + vars: { repo_name: "ose-3.2" } + roles: - openshift_health_checker - tasks: + + post_tasks: - block: + # put the repo back to disabled + - include: tasks/enable_repo.yml + vars: { repo_name: "ose-3.2", repo_enabled: 0 } + - action: openshift_health_check args: checks: [ 'package_availability' ] |