From 5cf1396cb7ab37546f54ea77cab7cf19ec0d924f Mon Sep 17 00:00:00 2001
From: Sascha Marcel Schmidt <mail@saschaschmidt.net>
Date: Wed, 5 Sep 2018 17:17:49 +0200
Subject: [PATCH] removes unnecessary check

---
 .../heketi/roles/provision/tasks/bootstrap/storage.yml   | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/contrib/network-storage/heketi/roles/provision/tasks/bootstrap/storage.yml b/contrib/network-storage/heketi/roles/provision/tasks/bootstrap/storage.yml
index ff32ef201..be3c42caf 100644
--- a/contrib/network-storage/heketi/roles/provision/tasks/bootstrap/storage.yml
+++ b/contrib/network-storage/heketi/roles/provision/tasks/bootstrap/storage.yml
@@ -31,12 +31,3 @@
     - "heketi_storage_state.stdout|from_json|json_query(job_query)|length == 1"
   retries: 60
   delay: 5
-- become: true
-  template: { src: "heketi-storage-test.json.j2", dest: "{{ kube_config_dir }}/heketi-storage-test.json" }
-  register: "rendering"
-- kube:
-    name: "GlusterFS"
-    kubectl: "{{bin_dir}}/kubectl"
-    filename: "{{ kube_config_dir }}/heketi-storage-test.json"
-    state: "{{ rendering.changed | ternary('latest', 'present') }}"
-  register: "state"
-- 
GitLab