]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
infrastructure-playbooks: Get Ceph info in check mode
authorBenoît Knecht <bknecht@protonmail.ch>
Mon, 26 Jul 2021 15:10:19 +0000 (17:10 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 2 Aug 2021 13:53:49 +0000 (15:53 +0200)
commitc8348ab0d9b7e24cbc6769952a04c470095fa956
treed46ed9ea46d59369c67c60941d64623b55c84418
parent39fa5e2f2c97fa357e4c3758bf5295aad111d9af
infrastructure-playbooks: Get Ceph info in check mode

In the `set osd flags` block, run the Ceph commands that gather information
from the cluster (and don't make any changes to it) even when running 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>
(cherry picked from commit d7653dca95247e52c4a6821c1eec00748263082a)
infrastructure-playbooks/cephadm-adopt.yml
infrastructure-playbooks/rolling_update.yml
infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml