mirror of https://github.com/ceph/ceph-ansible.git
ceph-osd: no need to use playbook_dir when fetching configs for docker
This causes a bug when fetch_directory is not relative to the playbook directory. Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/1138/head
parent
aeab09938a
commit
bbbd8ff148
|
@ -8,7 +8,7 @@
|
||||||
- name: wait for ceph.conf and keys
|
- name: wait for ceph.conf and keys
|
||||||
local_action: >
|
local_action: >
|
||||||
wait_for
|
wait_for
|
||||||
path="{{ playbook_dir }}/{{ fetch_directory }}/docker_mon_files/{{ item.0 }}"
|
path="{{ fetch_directory }}/docker_mon_files/{{ item.0 }}"
|
||||||
become: false
|
become: false
|
||||||
with_items: "{{ ceph_config_keys }}"
|
with_items: "{{ ceph_config_keys }}"
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
- name: try to copy ceph config and keys
|
- name: try to copy ceph config and keys
|
||||||
copy:
|
copy:
|
||||||
src: "{{ playbook_dir }}/{{ fetch_directory }}/docker_mon_files/{{ item.0 }}"
|
src: "{{ fetch_directory }}/docker_mon_files/{{ item.0 }}"
|
||||||
dest: "{{ item.0 }}"
|
dest: "{{ item.0 }}"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
|
Loading…
Reference in New Issue