Pass custom CephConfigPath parameter to ceph-nfs role

This is necessary for the systemd service to mount the correct
location on the host

Depends-On: I12155b4a88b811d701f9fb6d1506b5592b58767b
Change-Id: Ib29585696be5d46f88731541a3333851deebd663
(cherry picked from commit 7150a747b4)
This commit is contained in:
Giulio Fidente 2021-05-24 23:59:02 +02:00 committed by Francesco Pantano
parent 902594d776
commit 3ed6009630
1 changed files with 6 additions and 0 deletions

View File

@ -40,6 +40,11 @@ parameters:
type: json type: json
description: Extra config settings to dump into idmap.conf description: Extra config settings to dump into idmap.conf
default: {} 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: resources:
CephBase: CephBase:
@ -123,6 +128,7 @@ outputs:
- name: set tripleo-ansible group vars - name: set tripleo-ansible group vars
set_fact: set_fact:
ceph_nfs_vars: 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_bind_addr: {get_param: [EndpointMap, GaneshaInternal, host_nobrackets]}
tripleo_cephadm_ceph_nfs_enable_service: false tripleo_cephadm_ceph_nfs_enable_service: false
tripleo_cephadm_ceph_nfs_use_pacemaker: true tripleo_cephadm_ceph_nfs_use_pacemaker: true