Merge "Pass custom CephConfigPath parameter to ceph-nfs role"

This commit is contained in:
Zuul 2021-06-09 19:13:04 +00:00 committed by Gerrit Code Review
commit b868a5361d
1 changed files with 6 additions and 0 deletions

View File

@ -40,6 +40,11 @@ parameters:
type: json
description: Extra config settings to dump into idmap.conf
default: {}
CephConfigPath:
type: string
default: "/var/lib/tripleo-config/ceph"
description: |
The path where the Ceph Cluster config files are stored on the host.
resources:
CephBase:
@ -120,6 +125,7 @@ outputs:
- name: set tripleo-ansible group vars
set_fact:
ceph_nfs_vars:
tripleo_ceph_client_config_home: {get_param: CephConfigPath}
tripleo_cephadm_ceph_nfs_bind_addr: {get_param: [EndpointMap, GaneshaInternal, host_nobrackets]}
tripleo_cephadm_ceph_nfs_enable_service: false
tripleo_cephadm_ceph_nfs_use_pacemaker: true