]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-rgw: no need to use playbook_dir when fetching configs for docker
authorAndrew Schoen <aschoen@redhat.com>
Wed, 30 Nov 2016 21:18:36 +0000 (15:18 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 1 Dec 2016 16:28:54 +0000 (10:28 -0600)
This avoids a bug when fetch_directory is not a relative to the playbook
directory.

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

index ee8b16e3ea3cb9e514bfe077aff072ebc2ceaf1e..1b68b22118b8e46766de02e39a5a2972075207ab 100644 (file)
@@ -16,7 +16,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