]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-osd: no need to use playbook_dir when fetching configs for docker
authorAndrew Schoen <aschoen@redhat.com>
Wed, 30 Nov 2016 21:11:24 +0000 (15:11 -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 relative to the playbook
directory.

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

index bf908a5fd494ef5c0ec4e35c4047f356c63931af..ac3bd875d7074e66ab020152b26aa32266a924e3 100644 (file)
@@ -8,7 +8,7 @@
 - name: wait for ceph.conf and keys
   local_action: >
     wait_for
-    path="{{ playbook_dir }}/{{ fetch_directory }}/docker_mon_files/{{ item.0 }}"
+    path="{{ fetch_directory }}/docker_mon_files/{{ item.0 }}"
   become: false
   with_items: "{{ ceph_config_keys }}"
 
@@ -23,7 +23,7 @@
 
 - name: try to copy 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