From: Huamin Chen Date: Wed, 13 Jan 2016 14:13:30 +0000 (+0000) Subject: review feedback: convert to yml format X-Git-Tag: v1.0.0~66^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F478%2Fhead;p=ceph-ansible.git review feedback: convert to yml format Signed-off-by: Huamin Chen --- diff --git a/roles/ceph-mon/tasks/start_monitor.yml b/roles/ceph-mon/tasks/start_monitor.yml index 9bda52c5e..7de351f22 100644 --- a/roles/ceph-mon/tasks/start_monitor.yml +++ b/roles/ceph-mon/tasks/start_monitor.yml @@ -47,7 +47,10 @@ not is_ceph_infernalis - name: enable systemd unit file for mon instance (for or after infernalis) - file: src=/usr/lib/systemd/system/ceph-mon@.service dest=/etc/systemd/system/multi-user.target.wants/ceph-mon@{{ ansible_hostname }}.service state=link + file: + src: /usr/lib/systemd/system/ceph-mon@.service + dest: /etc/systemd/system/multi-user.target.wants/ceph-mon@{{ ansible_hostname }}.service + state: link changed_when: false failed_when: false when: diff --git a/roles/ceph-osd/tasks/activate_osds.yml b/roles/ceph-osd/tasks/activate_osds.yml index d93c0861e..0e5480c2f 100644 --- a/roles/ceph-osd/tasks/activate_osds.yml +++ b/roles/ceph-osd/tasks/activate_osds.yml @@ -42,7 +42,10 @@ is_ceph_infernalis - name: enable osd service instance(s) (for or after infernalis) - file: src=/usr/lib/systemd/system/ceph-osd@.service dest=/etc/systemd/system/multi-user.target.wants/ceph-osd@{{ item }}.service state=link + file: + src: /usr/lib/systemd/system/ceph-osd@.service + dest: /etc/systemd/system/multi-user.target.wants/ceph-osd@{{ item }}.service + state: link with_items: osd_id.stdout_lines failed_when: false when: