
Removing references to VSA node types as they are helion specific node types that do not exist downstream. Change-Id: I93a2b9b7c259c60dfa7c82ded7fe5895cac19a75
36 lines
1.7 KiB
YAML
36 lines
1.7 KiB
YAML
# Copyright (c) 2014 Hewlett-Packard Development Company, L.P.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
# implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
---
|
|
- hosts: undercloud
|
|
name: Check we have undercloud image ID for rebuild
|
|
tasks:
|
|
- fail: msg="undercloud_rebuild_image_id is not defined"
|
|
when: undercloud_rebuild_image_id is not defined or undercloud_rebuild_image_id == "" or undercloud_rebuild_image_id == None
|
|
- hosts: controller
|
|
name: Check we have controller image ID for rebuild
|
|
tasks:
|
|
- fail: msg="controller_rebuild_image_id is not defined"
|
|
when: controller_rebuild_image_id is not defined or controller_rebuild_image_id == "" or controller_rebuild_image_id == None
|
|
- hosts: swift-storage
|
|
name: Check we have swift storage image ID for rebuild
|
|
tasks:
|
|
- fail: msg="swift_storage_rebuild_image_id is not defined"
|
|
when: swift_storage_rebuild_image_id is not defined or swift_storage_rebuild_image_id == "" or swift_storage_rebuild_image_id == None
|
|
- hosts: nova-compute
|
|
name: Check we have nova compute image ID for rebuild
|
|
tasks:
|
|
- fail: msg="nova_compute_rebuild_image_id is not defined"
|
|
when: nova_compute_rebuild_image_id is not defined or nova_compute_rebuild_image_id == "" or nova_compute_rebuild_image_id == None
|