From 361f61d4a9fe91a138c21e0a51f54c5e52d83aaa Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Wed, 21 Aug 2019 14:27:57 +0000 Subject: [PATCH] Add --force to ceph mgr dashboard enablement Sometimes mgr dashboard enablement fails with following message: "Error ENOENT: all mgr daemons do not support module 'dashboard', pass --force to force enablement" Change-Id: Ie7052dbdccb855e02da849dbc207b5d1778e2c82 --- ansible/roles/ceph/tasks/start_ceph_dashboard.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/ceph/tasks/start_ceph_dashboard.yml b/ansible/roles/ceph/tasks/start_ceph_dashboard.yml index 2976959e49..4b26c6b9e3 100644 --- a/ansible/roles/ceph/tasks/start_ceph_dashboard.yml +++ b/ansible/roles/ceph/tasks/start_ceph_dashboard.yml @@ -1,6 +1,6 @@ --- - name: Enable ceph dashboard become: true - command: docker exec ceph_mon ceph mgr module enable dashboard + command: docker exec ceph_mon ceph mgr module enable dashboard --force changed_when: false run_once: true