]> git.proxmox.com Git - ceph.git/blame - ceph/src/ceph-volume/ceph_volume/tests/functional/simple/centos7/filestore/dmcrypt-plain/test.yml
import 14.2.4 nautilus point release
[ceph.git] / ceph / src / ceph-volume / ceph_volume / tests / functional / simple / centos7 / filestore / dmcrypt-plain / test.yml
CommitLineData
b32b8144
FG
1---
2
3- hosts: osds
4 become: yes
5 tasks:
6
7 - name: list all OSD directories
8 find:
9 paths: /var/lib/ceph/osd
10 file_type: directory
11 register: osd_paths
12
13 - name: scan all OSD directories
14 command: "ceph-volume --cluster={{ cluster }} simple scan {{ item.path }}"
15 environment:
16 CEPH_VOLUME_DEBUG: 1
17 with_items:
18 - "{{ osd_paths.files }}"
19
20 - name: list all OSD JSON files
21 find:
22 paths: /etc/ceph/osd
23 file_type: file
24 register: osd_configs
25
26 - name: activate all scanned OSDs
27 command: "ceph-volume --cluster={{ cluster }} simple activate --file {{ item.path }}"
28 environment:
29 CEPH_VOLUME_DEBUG: 1
30 with_items:
31 - "{{ osd_configs.files }}"