Ensure ceph-ansible is installed

Before attempting to install Ceph check that ceph-ansible is
installed using the new inflight-validations feature. If it
is not installed then fail the deployment using the message
from the validations frame work.

Change-Id: I6e9042f8cc2e5258e0e62c1bacaebf9a51eb61a7
Implements: blueprint inflight-validations
Depends-On: Ic099c61c74abf6da24a2cce899c944e3bf8ce26b
This commit is contained in:
John Fulton 2019-05-04 10:26:37 -06:00
parent d0b443a67d
commit 715d9c2f24
1 changed files with 9 additions and 0 deletions

View File

@ -391,6 +391,15 @@ outputs:
when: step == '1'
tags: ceph
block:
- name: ensure ceph-ansible is installed
include_role:
role: ceph
tasks_from: ceph-ansible-installed
vars:
fail_without_ceph_ansible: true
tags:
- opendev-validation
- opendev-validation-ceph
- name: set blacklisted_hostnames
set_fact:
blacklisted_hostnames: {get_param: DeploymentServerBlacklist}