]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph_key: refact the code and minor fixes
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 4 Aug 2020 11:53:24 +0000 (13:53 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Tue, 1 Dec 2020 14:53:26 +0000 (09:53 -0500)
commit71f98531a900586efcc33140f358aac3472ee167
tree4f08509b3ee97eec727bdc9c911445a0799c6e8b
parent134ff59528ba3f3a056c5dfacfb714b5defe8562
ceph_key: refact the code and minor fixes

This commit refactors the code to remove a duplicate condition and it
makes the `state: absent` code idempotent

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 13e2311cbe78b7b51930a3a1210629bf036a20c5)
library/ceph_key.py