]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
library: fix idempotency in ceph_mgr_module
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 21 Jan 2021 02:02:17 +0000 (21:02 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 3 Feb 2021 07:30:44 +0000 (08:30 +0100)
commit8939dddff46037aaa5c2d0fc3a52a065a2f3c44b
tree9e3c274d2fa7037b6101815c25f13ed0e8440b1b
parent76a663245de159e12735eb9f0705832e06fd802c
library: fix idempotency in ceph_mgr_module

The ceph mgr command output is printed on stderr instead of stdout which
prevent to set the changed flag to false if the module is already enabled.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
library/ceph_mgr_module.py
tests/library/test_ceph_mgr_module.py