From 3d795de9fbdc07d197fb9c95a711357953702edc Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Thu, 11 Oct 2018 21:50:42 +0200 Subject: [PATCH] ceph-ansible: fix collect ceph config task `ceph_conf_key_directory` doesn't exist in this playbook. All our testing is done with '/etc/ceph', let's hardcode it here. Signed-off-by: Guillaume Abrioux --- scripts/build_utils.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index 508ff146..c6d1bfdc 100644 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -786,10 +786,14 @@ write_collect_logs_playbook() { - name: collect ceph configuration file fetch: - src: "{{ ceph_conf_key_directory }}/{{ cluster }}.conf" + src: "{{ item }}" dest: "{{ archive_path }}/{{ inventory_hostname }}/" fail_on_missing: no flat: yes + with_items: + - "/etc/ceph/ceph.conf" + - "/etc/ceph/test.conf" + - "/etc/ceph/mycluster.conf" EOF } -- 2.39.5