diff --git a/contrib/network-storage/heketi/roles/provision/tasks/kubernetes.yml b/contrib/network-storage/heketi/roles/provision/tasks/kubernetes.yml index 813a434cf..257f85c04 100644 --- a/contrib/network-storage/heketi/roles/provision/tasks/kubernetes.yml +++ b/contrib/network-storage/heketi/roles/provision/tasks/kubernetes.yml @@ -7,6 +7,7 @@ command: "kubectl create -f {{ role_path }}/glusterfs-daemonset.json" - register: "daemonset_state" command: "kubectl get daemonset glusterfs --output=json --ignore-not-found=true" + changed_when: false - name: "Wait for daemonset to become available." register: "daemonset_state" command: "kubectl get daemonset glusterfs --output=json --ignore-not-found=true"