contrib/heketi: use inventory node ip in topology instead of guessing it (#5233)
This commit is contained in:
parent
a51b729817
commit
d1b1add176
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
||||||
{
|
{
|
||||||
"addresses": [
|
"addresses": [
|
||||||
{
|
{
|
||||||
"ip": "{{ hostvars[node]['ansible_facts']['default_ipv4']['address'] }}"
|
"ip": "{{ hostvars[node].ip }}"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"ports": [
|
"ports": [
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"{{ node }}"
|
"{{ node }}"
|
||||||
],
|
],
|
||||||
"storage": [
|
"storage": [
|
||||||
"{{ hostvars[node]['ansible_facts']['default_ipv4']['address'] }}"
|
"{{ hostvars[node].ip }}"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"zone": 1
|
"zone": 1
|
||||||
|
|
Loading…
Reference in a new issue