Skip to content
Snippets Groups Projects
Commit d1b1add1 authored by Julien Pervillé's avatar Julien Pervillé Committed by Kubernetes Prow Robot
Browse files

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

parent a51b7298
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
{
"addresses": [
{
"ip": "{{ hostvars[node]['ansible_facts']['default_ipv4']['address'] }}"
"ip": "{{ hostvars[node].ip }}"
}
],
"ports": [
......
......@@ -12,7 +12,7 @@
"{{ node }}"
],
"storage": [
"{{ hostvars[node]['ansible_facts']['default_ipv4']['address'] }}"
"{{ hostvars[node].ip }}"
]
},
"zone": 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment