]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-volume: make the batch action idempotent
authorAndrew Schoen <aschoen@redhat.com>
Mon, 1 Oct 2018 17:51:47 +0000 (12:51 -0500)
committerSébastien Han <seb@redhat.com>
Tue, 9 Oct 2018 14:09:50 +0000 (10:09 -0400)
commit5ee305d1a02f9cf0196b85ab277e408319e4b24c
treefc9f02d440b6cb10ced2064cf5ed7f310244fb31
parent40f82319dd0ccee9d33620ad579d20701589fd61
ceph-volume: make the batch action idempotent

The command is run with --report first to see if any OSDs will be
created or not. If they will be, then the command is run. If not, then
changed is set to False and the module exits.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
library/ceph_volume.py