From 887baf0cce2c7840aaad453f884c36e2a2111594 Mon Sep 17 00:00:00 2001 From: Daniel Gryniewicz Date: Thu, 9 Jun 2016 10:56:44 -0400 Subject: [PATCH] Put path back to playbook_dir for common template The config template is in ceph-common, not in the individual roles, so roles referencing it need to use playbook_dir, not role_path. Signed-off-by: Daniel Gryniewicz --- roles/ceph-mon/tasks/docker/create_configs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-mon/tasks/docker/create_configs.yml b/roles/ceph-mon/tasks/docker/create_configs.yml index 8229cc593..ec293db4b 100644 --- a/roles/ceph-mon/tasks/docker/create_configs.yml +++ b/roles/ceph-mon/tasks/docker/create_configs.yml @@ -2,7 +2,7 @@ - name: generate ceph configuration file action: config_template args: - src: "{{ role_path }}/templates/ceph.conf.j2" + src: "{{ playbook_dir }}/roles/ceph-common/templates/ceph.conf.j2" dest: /etc/ceph/ceph.conf owner: "root" group: "root"