ceph-ansible/roles/ceph-mon/tasks/docker/fetch_configs.yml

12 lines
358 B
YAML

---
- name: push ceph files to the ansible server
fetch:
src: "{{ item.0 }}"
dest: "{{ fetch_directory }}/{{ fsid }}/{{ item.0 }}"
flat: yes
fail_on_missing: "{{ 'no' if rolling_update or switch_to_container else 'yes' }}"
with_together:
- "{{ ceph_config_keys }}"
- "{{ statconfig.results }}"
when: item.1.stat.exists == false