Merge "Set tripleo_cephadm rbd mirror vars"

This commit is contained in:
Zuul 2021-06-18 14:31:53 +00:00 committed by Gerrit Code Review
commit bcd237b4d1

View File

@ -54,6 +54,16 @@ parameters:
/etc/ceph/<remote_cluster>.client.<remote_user>.keyring /etc/ceph/<remote_cluster>.client.<remote_user>.keyring
type: string type: string
resources:
CephBase:
type: ./ceph-base.yaml
properties:
ServiceData: {get_param: ServiceData}
ServiceNetMap: {get_param: ServiceNetMap}
EndpointMap: {get_param: EndpointMap}
RoleName: {get_param: RoleName}
RoleParameters: {get_param: RoleParameters}
outputs: outputs:
role_data: role_data:
description: Role data for the Ceph RBD Mirror service. description: Role data for the Ceph RBD Mirror service.
@ -66,4 +76,17 @@ outputs:
upgrade_tasks: [] upgrade_tasks: []
puppet_config: {} puppet_config: {}
docker_config: {} docker_config: {}
external_deploy_tasks: [] external_deploy_tasks:
list_concat:
- {get_attr: [CephBase, role_data, external_deploy_tasks]}
- - name: ceph_rbdmirror_external_deploy_init
when: step|int == 1
tags:
- ceph
block:
- name: set cephadm rbdmirror vars
set_fact:
cephadm_rbdmirror:
tripleo_cephadm_rbd_mirror_pool: {get_param: CephRbdMirrorPool}
tripleo_cephadm_rbd_mirror_remote_cluster: {get_param: CephRbdMirrorRemoteCluster}
tripleo_cephadm_rbd_mirror_remote_user: {get_param: CephRbdMirrorRemoteUser}