]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph_key: remove 'update' state
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 17 Mar 2020 14:34:11 +0000 (15:34 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 3 Apr 2020 20:19:03 +0000 (16:19 -0400)
commitb107dcf80beb345ae2afae3f66423e93e2cf17d1
tree0ac2b622a471e752d86be1e827fb036e9c8d461e
parentedfeb98593b96c5199e1003567ccd9c1880bd5bc
ceph_key: remove 'update' state

With this change, the state `present` is enough to update a keyring.
If the keyring already exist, it will be updated if caps or secret
passed to the module are different.
If the keyring doen't exist, it will be created.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1808367
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 553584cbd0d014429e665f998776e8d198f72d2b)
library/ceph_key.py