mirror of https://github.com/ceph/ceph-ansible.git
Fix osd_crush_location to prevent systemd error message
With ' in osd_crush_location, systemd will show this error: ceph-osd-prestart.sh[2931]: Invalid command: invalid chars ' in 'root= Signed-off-by: Christian Zunker <christian.zunker@codecentric.de>pull/1376/head
parent
d82ad7778d
commit
09646041ee
|
@ -59,7 +59,7 @@ dummy:
|
||||||
# osd0 ceph_crush_root=foo ceph_crush_rack=bar
|
# osd0 ceph_crush_root=foo ceph_crush_rack=bar
|
||||||
|
|
||||||
#crush_location: false
|
#crush_location: false
|
||||||
#osd_crush_location: "'root={{ ceph_crush_root }} rack={{ ceph_crush_rack }} host={{ ansible_hostname }}'"
|
#osd_crush_location: "\"root={{ ceph_crush_root }} rack={{ ceph_crush_rack }} host={{ ansible_hostname }}\""
|
||||||
|
|
||||||
|
|
||||||
##############
|
##############
|
||||||
|
|
|
@ -51,7 +51,7 @@ copy_admin_key: false
|
||||||
# osd0 ceph_crush_root=foo ceph_crush_rack=bar
|
# osd0 ceph_crush_root=foo ceph_crush_rack=bar
|
||||||
|
|
||||||
crush_location: false
|
crush_location: false
|
||||||
osd_crush_location: "'root={{ ceph_crush_root }} rack={{ ceph_crush_rack }} host={{ ansible_hostname }}'"
|
osd_crush_location: "\"root={{ ceph_crush_root }} rack={{ ceph_crush_rack }} host={{ ansible_hostname }}\""
|
||||||
|
|
||||||
|
|
||||||
##############
|
##############
|
||||||
|
|
Loading…
Reference in New Issue