]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-mon: no need to include playbook_dir when fetching configs
authorAndrew Schoen <aschoen@redhat.com>
Wed, 30 Nov 2016 21:08:42 +0000 (15:08 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 1 Dec 2016 16:28:54 +0000 (10:28 -0600)
This causes a bug when fetch_directory is not a relative path to the
playbook location.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/ceph-mon/tasks/docker/fetch_configs.yml

index b507bccaf0272bf37c6486c6fcf377e7acebc88a..3ceac9f971f08b8d206fb5a83692a8b30dcb5cbf 100644 (file)
@@ -21,7 +21,7 @@
 
 - name: try to fetch ceph config and keys
   copy:
-    src: "{{ playbook_dir }}/{{ fetch_directory }}/docker_mon_files/{{ item.0 }}"
+    src: "{{ fetch_directory }}/docker_mon_files/{{ item.0 }}"
     dest: "{{ item.0 }}"
     owner: root
     group: root