Change heketi-tear-down to run on nodes instead of localhost delegate_to

This commit is contained in:
Simon Li
2018-07-27 16:33:43 +01:00
committed by Sascha Marcel Schmidt
parent 8ac57201a7
commit d284961d47
3 changed files with 12 additions and 17 deletions

View File

@@ -49,8 +49,3 @@
command: "{{ bin_dir }}/kubectl delete secret {{ secrets.stdout|from_json|json_query(storage_query) }}"
when: "storage_query is defined"
ignore_errors: true
- name: "Prepare cluster disks."
include_tasks: "disks.yml"
with_items: "{{ groups['heketi-node'] }}"
loop_control:
loop_var: "node"