From 8ed7cdc57d09b836398d122090a1d3f12fe05623 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Wed, 1 Feb 2017 09:20:45 -0600 Subject: [PATCH] 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 (cherry picked from commit 873c044c539779539d3bf397015e05d505efbe2b) --- roles/ceph-common/handlers/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: