]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
mgr: force module addition
authorSébastien Han <seb@redhat.com>
Fri, 20 Oct 2017 09:53:39 +0000 (11:53 +0200)
committerSébastien Han <seb@redhat.com>
Fri, 20 Oct 2017 09:54:10 +0000 (11:54 +0200)
Some module require --force to be enabled.

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-mgr/tasks/main.yml

index e578e2017dbdb5da17821ae1301683933be79223..531266e7ee6e71815f768dc3ca0fefffb45be9f9 100644 (file)
@@ -31,7 +31,7 @@
     - ceph_release_num[ceph_release] >= ceph_release_num['luminous']
 
 - name: add modules to ceph-mgr
-  command: "{{ docker_exec_cmd_mgr | default('') }} ceph --cluster {{ cluster }} mgr module enable {{ item }}"
+  command: "{{ docker_exec_cmd_mgr | default('') }} ceph --cluster {{ cluster }} mgr module enable {{ item }} --force"
   with_items: "{{ ceph_mgr_modules }}"
   delegate_to: "{{ groups[mon_group_name][0] }}"
   when: