contrib/heketi: use inventory node ip in topology instead of guessing it (#5233)

pull/5268/head
Julien Pervillé 2019-10-16 13:25:42 +02:00 committed by Kubernetes Prow Robot
parent a51b729817
commit d1b1add176
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
{ {
"addresses": [ "addresses": [
{ {
"ip": "{{ hostvars[node]['ansible_facts']['default_ipv4']['address'] }}" "ip": "{{ hostvars[node].ip }}"
} }
], ],
"ports": [ "ports": [

View File

@ -12,7 +12,7 @@
"{{ node }}" "{{ node }}"
], ],
"storage": [ "storage": [
"{{ hostvars[node]['ansible_facts']['default_ipv4']['address'] }}" "{{ hostvars[node].ip }}"
] ]
}, },
"zone": 1 "zone": 1