This causes a bug when fetch_directory is not relative to the playbook
directory.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
- 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 }}"
- 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