]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-handler: Fix osd handler in check mode
authorBenoît Knecht <bknecht@protonmail.ch>
Mon, 26 Jul 2021 11:03:56 +0000 (13:03 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 28 Jul 2021 12:04:54 +0000 (14:04 +0200)
commit498acd7527410f7f359b2b0181e83ca39c682ec0
tree5bd27278ebdda55cfa731aed0a4a5f6553145354
parentf0ccf3ebf0b1ad6737f0d65174c0024b49db00a4
ceph-handler: Fix osd handler in check mode

Run the Ceph commands that only gather information (without making any changes
to the cluster) when running Ansible in check mode.

This allows the tasks that depend on the variables set by those tasks to
succeed in check mode.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
roles/ceph-handler/tasks/handler_osds.yml