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