diff --git a/deployment/ceph-ansible/ceph-mds.yaml b/deployment/ceph-ansible/ceph-mds.yaml index 168d0ffebd..2bfda2e79a 100644 --- a/deployment/ceph-ansible/ceph-mds.yaml +++ b/deployment/ceph-ansible/ceph-mds.yaml @@ -90,21 +90,27 @@ resources: type: json value: vars: - cephfs_data: {get_param: ManilaCephFSDataPoolName} - cephfs_metadata: {get_param: ManilaCephFSMetadataPoolName} - cephfs: {get_param: ManilaCephFSShareBackendName} # Prefer CephPoolDefaultPgNum unless the (deprecated) # params value is different from their default. - if: - - or: - - deprecated_data_pool_pgnum - - deprecated_metadata_pool_pgnum - - cephfs_pools: - - { name: {get_param: ManilaCephFSDataPoolName}, pgs: {get_param: ManilaCephFSDataPoolPGNum} } - - { name: {get_param: ManilaCephFSMetadataPoolName}, pgs: {get_param: ManilaCephFSMetadataPoolPGNum} } - - cephfs_pools: - - { name: {get_param: ManilaCephFSDataPoolName}, pgs: {get_param: CephPoolDefaultPgNum} } - - { name: {get_param: ManilaCephFSMetadataPoolName}, pgs: {get_param: CephPoolDefaultPgNum} } + cephfs_data_pool: + application: cephfs + name: {get_param: ManilaCephFSDataPoolName} + pg_num: + if: + - deprecated_data_pool_pgnum + - {get_param: ManilaCephFSDataPoolPGNum} + - {get_param: CephPoolDefaultPgNum} + rule_name: replicated_rule + cephfs_metadata_pool: + application: cephfs + name: {get_param: ManilaCephFSMetadataPoolName} + pg_num: + if: + - deprecated_metadata_pool_pgnum + - {get_param: ManilaCephFSMetadataPoolPGNum} + - {get_param: CephPoolDefaultPgNum} + rule_name: replicated_rule + cephfs: {get_param: ManilaCephFSShareBackendName} outputs: role_data: