diff options
author | Justin chi <chigang@huawei.com> | 2017-10-29 12:52:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-10-29 12:52:50 +0000 |
commit | 697ef40111839d0003183976081a546affd534de (patch) | |
tree | adfc5443fb6daaee6989daf809e53ce1289fc4e3 /deploy/adapters/ansible | |
parent | e63fd0ceff67ead3e9b362cc7b9126b7b8e2d650 (diff) | |
parent | 43b19eaefb31c9fc4c20e7d9402f52ab9542ef9b (diff) |
Merge "fix ceph reboot issue"
Diffstat (limited to 'deploy/adapters/ansible')
-rw-r--r-- | deploy/adapters/ansible/roles/storage/tasks/ceph.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/storage/tasks/ceph.yml b/deploy/adapters/ansible/roles/storage/tasks/ceph.yml index e024c671..50476c7b 100644 --- a/deploy/adapters/ansible/roles/storage/tasks/ceph.yml +++ b/deploy/adapters/ansible/roles/storage/tasks/ceph.yml @@ -43,3 +43,10 @@ line: "losetup -f /var/{{ item }}.img" insertbefore: "{{ rc_local_insert_before }}" with_items: "{{ ceph_osd_images }}" + +- name: Create ceph partitions at boot time + lineinfile: + dest: "{{ rc_local }}" + line: "partprobe -s {{ item }}" + insertbefore: "{{ rc_local_insert_before }}" + with_items: "{{ ceph_loopback.results | map(attribute='stdout') | list }}" |