fix database not available heketi error

This commit is contained in:
Sascha Marcel Schmidt
2018-09-05 16:03:32 +02:00
parent 64b0ce974d
commit 6ffddbff24
10 changed files with 39 additions and 27 deletions

View File

@@ -2,7 +2,7 @@
- name: "Get heketi topology."
register: "heketi_topology"
changed_when: false
command: "{{ bin_dir }}/kubectl exec {{ heketi_pod_name }} -- heketi-cli topology info --json"
command: "{{ bin_dir }}/kubectl exec {{ heketi_pod_name }} -- heketi-cli --user admin --secret {{ heketi_admin_key }} topology info --json"
- name: "Render heketi topology template."
become: true
vars: { nodes: "{{ groups['heketi-node'] }}" }