]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
common: ability to disable handler osd health check 1279/head
authorSébastien Han <seb@redhat.com>
Thu, 2 Feb 2017 10:22:55 +0000 (11:22 +0100)
committerSébastien Han <seb@redhat.com>
Fri, 3 Feb 2017 15:41:15 +0000 (16:41 +0100)
Signed-off-by: Sébastien Han <seb@redhat.com>
group_vars/all.yml.sample
roles/ceph-common/defaults/main.yml
roles/ceph-common/handlers/validate-osd.yml

index 9eb23f1cf7b19153f421f203e3e0993c1c0bd923..e6fccbb3b4d9e847b9d6ddf4d168efa733fba6c9 100644 (file)
@@ -330,6 +330,7 @@ dummy:
 #handler_health_mon_check_delay: 10
 #handler_health_osd_check_retries: 40
 #handler_health_osd_check_delay: 30
+#handler_health_osd_check: true
 
 ###################
 # CONFIG OVERRIDE #
index 50bd4b3ddd04057ae0395183612bbddcafc52efd..f20fd3a6cff672069c47176e842fe1ad4be20b78 100644 (file)
@@ -322,6 +322,7 @@ handler_health_mon_check_retries: 5
 handler_health_mon_check_delay: 10
 handler_health_osd_check_retries: 40
 handler_health_osd_check_delay: 30
+handler_health_osd_check: true
 
 ###################
 # CONFIG OVERRIDE #
index b83d0952d0d255a0bf77c4465e5ffaf55d3b9525..99d1c2f871d09e5100ed5795ce8fc6abf5c7f4a8 100644 (file)
@@ -17,3 +17,4 @@
   retries: "{{ handler_health_osd_check_retries }}"
   delay: "{{ handler_health_osd_check_delay }}"
   delegate_to: "{{ groups[mon_group_name][0] }}"
+  when: handler_health_osd_check