]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Create Ceph Initial Dirs earlier
authorJohn Fulton <fulton@redhat.com>
Mon, 4 Feb 2019 23:21:42 +0000 (23:21 +0000)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Tue, 5 Feb 2019 18:38:05 +0000 (18:38 +0000)
Include tasks from create_ceph_initial_dirs earlier during
ceph config role.

Fixes: #3568
Signed-off-by: John Fulton <fulton@redhat.com>
roles/ceph-config/tasks/main.yml

index 495a083b2c9f91a00f5d6140ef7e90e7ce096625..46294b9badb8ceb184ca83ddf42b5fc36ee70ee4 100644 (file)
@@ -1,4 +1,9 @@
 ---
+- name: include create_ceph_initial_dirs.yml
+  include_tasks: create_ceph_initial_dirs.yml
+  when:
+    - containerized_deployment|bool
+
 - block:
   - name: count number of osds for ceph-disk scenarios
     set_fact:
     - not containerized_deployment|bool
 
 - block:
-  - name: include create_ceph_initial_dirs.yml
-    include_tasks: create_ceph_initial_dirs.yml
-
   - name: create a local fetch directory if it does not exist
     file:
       path: "{{ fetch_directory }}"