From 719a25b571dbd8ff99cbfb273afb8997965fb0e6 Mon Sep 17 00:00:00 2001 From: John Fulton Date: Mon, 4 Feb 2019 23:21:42 +0000 Subject: [PATCH] Create Ceph Initial Dirs earlier Include tasks from create_ceph_initial_dirs earlier during ceph config role. Fixes: #3568 Signed-off-by: John Fulton --- roles/ceph-config/tasks/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/roles/ceph-config/tasks/main.yml b/roles/ceph-config/tasks/main.yml index 495a083b2..46294b9ba 100644 --- a/roles/ceph-config/tasks/main.yml +++ b/roles/ceph-config/tasks/main.yml @@ -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: @@ -121,9 +126,6 @@ - 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 }}"