Create Ceph Initial Dirs earlier

Include tasks from create_ceph_initial_dirs earlier during
ceph config role.

Fixes: #3568
Signed-off-by: John Fulton <fulton@redhat.com>
pull/3571/head
John Fulton 2019-02-04 23:21:42 +00:00 committed by mergify[bot]
parent dab3f6ee3f
commit 719a25b571
1 changed files with 5 additions and 3 deletions

View 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:
@ -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 }}"