Merge "Fix ceph AIO bootstrap for CentOS"

This commit is contained in:
Jenkins 2017-02-22 21:05:35 +00:00 committed by Gerrit Code Review
commit ef156fc88f

View File

@ -34,7 +34,7 @@
- name: Ensure that rc.local exists - name: Ensure that rc.local exists
file: file:
path: /etc/rc.local path: "{{ rc_local }}"
state: touch state: touch
mode: "u+x" mode: "u+x"
tags: tags:
@ -42,8 +42,9 @@
- name: Create ceph loopback at boot time - name: Create ceph loopback at boot time
lineinfile: lineinfile:
dest: /etc/rc.local dest: "{{ rc_local }}"
line: "losetup -f /openstack/{{ item }}.img" line: "losetup -f /openstack/{{ item }}.img"
insertbefore: "{{ rc_local_insert_before }}"
with_items: "{{ ceph_osd_images }}" with_items: "{{ ceph_osd_images }}"
# TODO(logan): Move these vars to user_variables.ceph.yml.j2 once LP #1649381 # TODO(logan): Move these vars to user_variables.ceph.yml.j2 once LP #1649381