From: Andrew Schoen Date: Wed, 1 Feb 2017 15:20:45 +0000 (-0600) Subject: ceph-common: remove absolute path to handler include files X-Git-Tag: v2.2.0rc1~46^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=873c044c539779539d3bf397015e05d505efbe2b;p=ceph-ansible.git ceph-common: remove absolute path to handler include files 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 --- diff --git a/roles/ceph-common/handlers/main.yml b/roles/ceph-common/handlers/main.yml index dd2a0d726..8cb6bd301 100644 --- a/roles/ceph-common/handlers/main.yml +++ b/roles/ceph-common/handlers/main.yml @@ -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: