f3c8c59fe0
The state information in the ceph-ansible fetch directory is no longer necessary to replace a Ceph monitor as of ceph-ansible 4.0.14-1. Stein, Train, Ussuri and newer should be using this version of ceph-ansible or newer. TripleO does not need to do extra work to maintain the fetch directory. Remove tripleo_ceph_fetch_dir role and modify code flow so that it's no longer used. Also, remove unnecessary dependencies in tripleo-ceph-* roles as described in LP #1844837. Change-Id: Ic292dcc1bcf1e7575285ad56d56df2966e968b6d Depends-On: I3f8c2571a6dd35029d71dd42df637a962d9b3235 Related-Bug: #1863809 Closes-Bug: #1844837
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
---
|
|
# Copyright 2019 Red Hat, Inc.
|
|
# All Rights Reserved.
|
|
#
|
|
# 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
|
|
tasks:
|
|
# tripleo heat templates call these on step1
|
|
- name: include common ceph defaults
|
|
include_role:
|
|
name: tripleo_ceph_common
|
|
- name: create ceph-ansible working directory
|
|
include_role:
|
|
name: tripleo_ceph_work_dir
|
|
tasks_from: prepare
|
|
- name: prepare for ceph-ansible uuid gathering
|
|
include_role:
|
|
name: tripleo_ceph_uuid
|
|
tasks_from: prepare
|
|
# tripleo heat templates call these on step2
|
|
- name: get ssh private key
|
|
include_role:
|
|
name: tripleo_ceph_work_dir
|
|
tasks_from: get_ssh_private_key
|
|
- name: run nodes-uuid
|
|
include_role:
|
|
name: tripleo_ceph_uuid
|
|
tasks_from: gather
|
|
- name: run ceph-ansible
|
|
include_role:
|
|
name: tripleo_ceph_run_ansible
|