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
This commit is contained in:
Michal Nasiadka 2019-08-21 14:27:57 +00:00
parent e8212a3080
commit 361f61d4a9

View File

@ -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