contrib/heketi: use inventory node ip in topology instead of guessing it (#5233)
parent
a51b729817
commit
d1b1add176
|
@ -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 New Issue