File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ Role variables
43
43
- /dev/sdb
44
44
- /dev/sdc
45
45
```
46
- * `cephadm_osd_spec`: OSD spec to apply in yaml format
46
+ * `cephadm_osd_spec`: OSD spec to apply in YAML (recommended) or dict format
47
47
Example:
48
48
```
49
- cephadm_osd_spec:
49
+ cephadm_osd_spec: |
50
50
service_type: osd
51
51
service_id: osd_spec_default
52
52
placement:
@@ -56,7 +56,7 @@ Role variables
56
56
db_devices:
57
57
model: Dell Express Flash PM1725b 1.6TB SFF
58
58
```
59
-
59
+
60
60
* Registry
61
61
* `cephadm_registry_url`: (default: not used)
62
62
* `cephadm_registry_username`: (default: not used)
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