]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
review feedback: convert to yml format 478/head
authorHuamin Chen <hchen@redhat.com>
Wed, 13 Jan 2016 14:13:30 +0000 (14:13 +0000)
committerHuamin Chen <hchen@redhat.com>
Wed, 13 Jan 2016 14:13:30 +0000 (14:13 +0000)
Signed-off-by: Huamin Chen <hchen@redhat.com>
roles/ceph-mon/tasks/start_monitor.yml
roles/ceph-osd/tasks/activate_osds.yml

index 9bda52c5e4a94355f9e49e56ff36d03e0c4380de..7de351f221b5f46a9c55165c2bc84b515d4a82bc 100644 (file)
     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:
index d93c0861e1b210652fbe50966e7b4ea2ca9b3c65..0e5480c2f87a9e7a5deb8f0bf1403be8a7f7a360 100644 (file)
     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: