On the jobs that use ceph-ansible to test ceph logs are collected from
the vms on failure. However, if the cluster name was not ceph the find
command would fail to collect any ceph-volume logs.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
when: ansible_distribution == 'CentOS'
- name: find ceph logs
- command: find /var/log/ceph -name "{{ cluster|default('ceph') }}*.log"
+ command: find /var/log/ceph -name "*.log"
register: ceph_logs
failed_when: false