]> 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)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 21 Aug 2020 11:56:11 +0000 (13:56 +0200)
commit2cc7ed21f0e4caf62a65a61702bb409f97abd124
tree0ec4df3392cf968212dabaeac6feb114d51c01f9
parentf22078b16d5eb2a75aaca878a4e4444ad5d16ed1
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