]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-mon: Fix check mode for deploy monitor tasks
authorBenoît Knecht <bknecht@protonmail.ch>
Mon, 19 Oct 2020 09:23:59 +0000 (11:23 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 21 Oct 2020 11:19:49 +0000 (13:19 +0200)
commitdd51ca530ca59463568f9f3d1e041724eaf7f70d
tree07bffc6fa4ca8538507636e6404164f1d7e1c5b3
parent0a917b39179273f8bfaea2e29f59b33a5d69802f
ceph-mon: Fix check mode for deploy monitor tasks

Skip the `get initial keyring when it already exists` task when both commands
whose `stdout` output it requires have been skipped (e.g. when running in check
mode).

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
(cherry picked from commit 8f436ab5d80c924d8841215307c17e38a70fb4bd)
roles/ceph-mon/tasks/deploy_monitors.yml