]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Evaluate cephfs pool variables 1992/head
authorJan Provaznik <jprovazn@redhat.com>
Thu, 5 Oct 2017 08:00:20 +0000 (10:00 +0200)
committerJan Provaznik <jprovazn@redhat.com>
Thu, 5 Oct 2017 08:00:20 +0000 (10:00 +0200)
Otherwise pools with names 'cephfs_data' and 'cephfs_metadata'
are created.

roles/ceph-mon/tasks/create_mds_filesystems.yml

index 2d4bdec6a24ce84a00637a971281dafb0ea0bc76..a1292ee494aa8d858f398c4ef547dd79c65559a0 100644 (file)
@@ -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