From 9b9d900c17b850fd4505e9f790eef32636fe3c40 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Thu, 8 Mar 2018 15:44:05 -0600 Subject: [PATCH] scripts: take into account custom cluster names in collect logs playbook Signed-off-by: Andrew Schoen --- scripts/build_utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index a5436d9f..af0f94b7 100644 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -684,7 +684,7 @@ write_collect_logs_playbook() { become: yes tasks: - name: find ceph logs - command: find /var/log/ceph -name "ceph*.log" + command: find /var/log/ceph -name "{{ cluster|default('ceph') }}*.log" register: ceph_logs - name: collect ceph logs -- 2.47.3