]> 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>
Mon, 19 Oct 2020 20:53:20 +0000 (22:53 +0200)
commit9f5ec22d3478584b987c2631a5c82fbd4fe4b43d
treebb14347d40bdeac7b6f571e0fe1ee9495c50074d
parentf8a64ce4526c9a79f130aed6080a6d4271ba3e65
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