]> git-server-git.apps.pok.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:54:04 +0000 (15:54 +0200)
commit35ce2bb6435eebcbf463401a7b432ddcdfb2669b
treee041e61899e0ea18f9441055e23e33e5b735c4a6
parentf9478472af5fd397e379d65cc43bea77b3781c7e
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