From: Daniel Gryniewicz Date: Thu, 9 Jun 2016 14:56:44 +0000 (-0400) Subject: Put path back to playbook_dir for common template X-Git-Tag: v1.0.6~88^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=887baf0cce2c7840aaad453f884c36e2a2111594;p=ceph-ansible.git 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 --- 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"