]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Put path back to playbook_dir for common template 846/head
authorDaniel Gryniewicz <dang@redhat.com>
Thu, 9 Jun 2016 14:56:44 +0000 (10:56 -0400)
committerDaniel Gryniewicz <dang@redhat.com>
Thu, 9 Jun 2016 14:59:17 +0000 (10:59 -0400)
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 <dang@redhat.com>
roles/ceph-mon/tasks/docker/create_configs.yml

index 8229cc59330101cfa7d0291d62850ae023f8a418..ec293db4b9b1e4a51845c4fb71798cceeed7408c 100644 (file)
@@ -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"