Browse Source

Merge pull request #9924 from nak3/first_master_client_binary

Use first_master_client_binary from hostvars[groups.oo_first_master.0]
OpenShift Merge Robot 6 years ago
parent
commit
896ab7983f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_storage_glusterfs/tasks/cluster_health.yml

+ 1 - 1
roles/openshift_storage_glusterfs/tasks/cluster_health.yml

@@ -3,7 +3,7 @@
 # lib_utils/library/glusterfs_check_containerized.py
 - name: Check for GlusterFS cluster health
   glusterfs_check_containerized:
-    oc_bin: "{{ first_master_client_binary }}"
+    oc_bin: "{{ hostvars[groups.oo_first_master.0]['first_master_client_binary'] }}"
     oc_conf: "{{ openshift.common.config_base }}/master/admin.kubeconfig"
     oc_namespace: "{{ glusterfs_namespace }}"
     cluster_name: "{{ glusterfs_name }}"