]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-common: remove absolute path to handler include files 1266/head
authorAndrew Schoen <aschoen@redhat.com>
Wed, 1 Feb 2017 15:20:45 +0000 (09:20 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 1 Feb 2017 15:22:26 +0000 (09:22 -0600)
This breaks if the roles don't live in the same place as the playbook.

See: https://github.com/ceph/ceph-ansible/issues/1265

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/ceph-common/handlers/main.yml

index dd2a0d726086d7ad6109cbb65569a2aa0d22615d..8cb6bd301680bd060b61e3493e70cb3f7f754612 100644 (file)
@@ -5,16 +5,16 @@
   when: ansible_os_family == 'Debian'
 
 - name: restart ceph mons
-  include: "{{ playbook_dir }}/roles/ceph-common/handlers/restart-mon.yml"
+  include: "./restart-mon.yml"
 
 - name: restart ceph osds
-  include: "{{ playbook_dir }}/roles/ceph-common/handlers/restart-osd.yml"
+  include: "./restart-osd.yml"
 
 - name: restart ceph mdss
-  include: "{{ playbook_dir }}/roles/ceph-common/handlers/restart-mds.yml"
+  include: "./restart-mds.yml"
 
 - name: restart ceph rgws
-  include: "{{ playbook_dir }}/roles/ceph-common/handlers/restart-rgw.yml"
+  include: "./restart-rgw.yml"
 
 - name: restart ceph nfss
   service: