]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
gather-ceph-logs: fix logs list generation
authorDimitri Savineau <dsavinea@redhat.com>
Mon, 13 May 2019 14:12:42 +0000 (10:12 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 13 May 2019 14:33:26 +0000 (10:33 -0400)
commit6814fd5ce587798f33731fb04aa97a457210c60e
treeae68209df25ef0c867bfb86502d987b54b8c544e
parent6a48ff8a373d77e6355cec24e46877afdd2b6a8b
gather-ceph-logs: fix logs list generation

The shell module doesn't have a stdout_lines attributes. Instead of
using the shell module, we can use the find modules.

Also adding `become: false` to the local tmp directory creation
otherwise we won't have enough right to fetch the files into this
directory.

Resolves: #3966

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit ea1f8f551cafd3dcd23435630d231811d8cb0e15)
infrastructure-playbooks/gather-ceph-logs.yml