File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ All Ceph hosts must be in the `ceph` group.
48
48
- /dev/sdb
49
49
- /dev/sdc
50
50
```
51
- * `cephadm_osd_spec`: OSD spec to apply in yaml format
51
+ * `cephadm_osd_spec`: OSD spec to apply in YAML (recommended) or dict format
52
52
Example:
53
53
```
54
- cephadm_osd_spec:
54
+ cephadm_osd_spec: |
55
55
service_type: osd
56
56
service_id: osd_spec_default
57
57
placement:
Original file line number Diff line number Diff line change 19
19
vars :
20
20
fsid : " {{ cephadm_fsid if cephadm_fsid | length > 0 else cephadm_fsid_current.stdout }}"
21
21
copy :
22
- content : " {{ cephadm_osd_spec | to_nice_yaml(indent=2) }}"
22
+ content : " {{ cephadm_osd_spec | to_nice_yaml if cephadm_osd_spec is mapping else cephadm_osd_spec }}"
23
23
dest : " /var/run/ceph/{{ fsid }}/osd_spec.yml"
24
24
owner : root
25
25
group : root
You can’t perform that action at this time.
0 commit comments