---
- name: create bootstrap directories
  file:
    path: /var/lib/ceph/bootstrap-{{ item }}
    state: directory
  with_items:
    - osd
    - mds
    - rgw

# NOTE (leseb): for version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
- name: install docker-py
  pip:
    name: docker-py
    version: 1.1.0

---
- name: create bootstrap directories
  file:
    path: "{{ item }}"
    state: directory
  with_items:
    - /etc/ceph/
    - /var/lib/ceph/bootstrap-osd
    - /var/lib/ceph/bootstrap-mds
    - /var/lib/ceph/bootstrap-rgw

# NOTE (leseb): for version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
- name: install docker-py
  pip:
    name: docker-py
    version: 1.1.0

Create missing directories when deploying with docker
Create missing directories when deploying with docker

Signed-off-by: Sébastien Han <5f623ba394d775ea686a43b248b1a848b2e9d60a@cisco.com>
