removes unnecessary check
This commit is contained in:
parent
6ffddbff24
commit
5cf1396cb7
1 changed files with 0 additions and 9 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue