removes unnecessary check

This commit is contained in:
Sascha Marcel Schmidt 2018-09-05 17:17:49 +02:00
parent 6ffddbff24
commit 5cf1396cb7
No known key found for this signature in database
GPG key ID: D1D6CE184437796D

View file

@ -31,12 +31,3 @@
- "heketi_storage_state.stdout|from_json|json_query(job_query)|length == 1" - "heketi_storage_state.stdout|from_json|json_query(job_query)|length == 1"
retries: 60 retries: 60
delay: 5 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"