]> 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, 28 Apr 2021 13:18:49 +0000 (15:18 +0200)
commit80cf5b731b392a33c582a945512dc83d48b3b959
treef640c50101ef60fa143daa40b7b74cb789d4b9e9
parent693a8087bc4a4c515c46d533c77d0becf64f3399
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 2437f145811dfce0ffa83bcf35e8fd711b27d3dd)
roles/ceph-mon/tasks/deploy_monitors.yml