Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Pass custom CephConfigPath parameter to ceph-nfs role
Browse files Browse the repository at this point in the history
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 7150a74)
  • Loading branch information
gfidente authored and fmount committed Jun 10, 2021
1 parent 902594d commit 3ed6009
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deployment/cephadm/ceph-nfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -123,6 +128,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
Expand Down

0 comments on commit 3ed6009

Please sign in to comment.