summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/ceph-osd
diff options
context:
space:
mode:
authorshuai chen <chenshuai@huawei.com>2016-02-26 00:56:23 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-02-26 00:56:23 +0000
commit13844327bc53f672389f7372e5ee0660d79fd761 (patch)
treea84a3ff0f0e810aa1132dd4b575a8f1b929855b0 /deploy/adapters/ansible/roles/ceph-osd
parent553eb40cc40c0a5c1727bc8237932426ea790154 (diff)
parentcf09c45a4a47fdf1fa86dff4af45a64ba10597d5 (diff)
Merge "Fix: CEPH issues on centos7"
Diffstat (limited to 'deploy/adapters/ansible/roles/ceph-osd')
-rw-r--r--deploy/adapters/ansible/roles/ceph-osd/tasks/install_osd.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/ceph-osd/tasks/install_osd.yml b/deploy/adapters/ansible/roles/ceph-osd/tasks/install_osd.yml
index 5c637a2e..e7e4a242 100644
--- a/deploy/adapters/ansible/roles/ceph-osd/tasks/install_osd.yml
+++ b/deploy/adapters/ansible/roles/ceph-osd/tasks/install_osd.yml
@@ -28,6 +28,6 @@
when: ansible_os_family == "Debian"
- name: rebuild osd after reboot for centos
- lineinfile: dest=/usr/init.d/ceph insertafter="^### END INIT INFO" line="\nsleep 1\nmount /dev/storage-volumes/ceph0 /var/local/osd"
+ lineinfile: dest=/etc/init.d/ceph insertafter="^### END INIT INFO" line="\nsleep 1\nmount /dev/storage-volumes/ceph0 /var/local/osd"
when: ansible_os_family == "RedHat"