]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
cephadm-adopt: use ceph_osd_flag module
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 21 Jan 2021 17:12:17 +0000 (12:12 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 3 Feb 2021 07:29:31 +0000 (08:29 +0100)
commit76a663245de159e12735eb9f0705832e06fd802c
tree6e04ef9d2a88a4e714f35a7b5d59be33446594dc
parent36fc04eaabb9e637603f4ff0d2311841b42a1367
cephadm-adopt: use ceph_osd_flag module

There's no reason to not use the ceph_osd_flag module to set/unset osd
flags.
Also if there's no OSD nodes in the inventory then we don't need to
execute the set/unset play.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
infrastructure-playbooks/cephadm-adopt.yml