]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible: fix collect ceph config task 1156/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 11 Oct 2018 19:50:42 +0000 (21:50 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 12 Oct 2018 12:11:09 +0000 (14:11 +0200)
`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 <gabrioux@redhat.com>
scripts/build_utils.sh

index 508ff146bbe52d7c66b90da500bf7eec1d09fad9..c6d1bfdc9f5e0cb563b25bd724b83e1724e3898d 100644 (file)
@@ -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
 }