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

This commit is contained in:
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