]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
switch_to_containers: optimize ownership change
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 7 Oct 2019 07:19:50 +0000 (09:19 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 7 Oct 2019 14:18:17 +0000 (10:18 -0400)
commit468aa5d63bb45d32d32756cc89c2b730c18e35dd
tree6387f4e981831ea07a1965c06490fff70ad0066d
parenta210efe36119358ae91e70141267b83c69fe0f35
switch_to_containers: optimize ownership change

As per https://github.com/ceph/ceph-ansible/pull/4323#issuecomment-538420164

using `find` command should be faster.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1757400
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Co-Authored-by: Giulio Fidente <gfidente@redhat.com>
(cherry picked from commit c5d0c90bb7d8382fde2f07820c2d8547c8a3603e)
infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml