From 1bb1585c6b1a10c9e3fdd01e02e2178cb23ee717 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 11 Jul 2018 16:34:09 +0200 Subject: [PATCH] mgr: fix condition to add modules to ceph-mgr Follow up on #2784 We must check in the generated fact `_disabled_ceph_mgr_modules` to enable disabled mgr module. Otherwise, this task will be skipped because it's not comparing the right list. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1600155 Signed-off-by: Guillaume Abrioux (cherry picked from commit ce5ac930c5b91621a46fc69ddd0dcafb2a24947d) --- roles/ceph-mgr/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-mgr/tasks/main.yml b/roles/ceph-mgr/tasks/main.yml index 2970daf37..44c42ec67 100644 --- a/roles/ceph-mgr/tasks/main.yml +++ b/roles/ceph-mgr/tasks/main.yml @@ -48,5 +48,5 @@ with_items: "{{ ceph_mgr_modules }}" delegate_to: "{{ groups[mon_group_name][0] }}" when: - - item in _ceph_mgr_modules.disabled_modules + - item in _disabled_ceph_mgr_modules - ceph_release_num[ceph_release] >= ceph_release_num['luminous'] -- 2.39.5