From 43e57abfd811e3825c11fbb67f70c318cb0e4a7d Mon Sep 17 00:00:00 2001 From: Jan Provaznik Date: Thu, 5 Oct 2017 10:00:20 +0200 Subject: [PATCH] Evaluate cephfs pool variables Otherwise pools with names 'cephfs_data' and 'cephfs_metadata' are created. --- roles/ceph-mon/tasks/create_mds_filesystems.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ceph-mon/tasks/create_mds_filesystems.yml b/roles/ceph-mon/tasks/create_mds_filesystems.yml index 2d4bdec6a..a1292ee49 100644 --- a/roles/ceph-mon/tasks/create_mds_filesystems.yml +++ b/roles/ceph-mon/tasks/create_mds_filesystems.yml @@ -6,8 +6,8 @@ - name: create filesystem pools command: "{{ docker_exec_cmd }} ceph --cluster {{ cluster }} osd pool create {{ item }} {{ osd_pool_default_pg_num }}" with_items: - - cephfs_data - - cephfs_metadata + - "{{ cephfs_data }}" + - "{{ cephfs_metadata }}" changed_when: false - name: check if ceph filesystem already exists