]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph_key: fix idempotency when no secret is passed
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 3 Apr 2020 08:24:32 +0000 (10:24 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 3 Apr 2020 15:04:30 +0000 (11:04 -0400)
commitcbed1eb17ad1b24dcc2ccce8afe4ece5f409feae
tree763b9272e0732db47585f7f0827e23222f7e73e4
parenta472064cb888f3cf8cdc49086b120308e48d0665
ceph_key: fix idempotency when no secret is passed

553584cbd0d014429e665f998776e8d198f72d2b introduced a regression when no
secret is passed, it overwrites the secret each time the task is run.

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