aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/ceph-osd
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2016-02-25 07:19:00 -0500
committergrakiss <grakiss.wanglei@huawei.com>2016-02-25 07:19:00 -0500
commitcf09c45a4a47fdf1fa86dff4af45a64ba10597d5 (patch)
treef769c9a55becac5e583b2b45c4e048a41816de47 /deploy/adapters/ansible/roles/ceph-osd
parentbb0ee921be7b53609e3b942ad7aeee8b06f458d5 (diff)
Fix: CEPH issues on centos7
JIRA:COMPASS-323 - path error for init script - fix centos bug for python-crypto installation - fix redhat-lsd-core installation Change-Id: I5b6aaa7310a516d3938e6487aa71642fa0a643cf Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
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"