fix: add port to default raft peer
This commit is contained in:
parent
9120160b94
commit
70c820f3b4
@ -27,7 +27,7 @@ vault_raft_cluster_members: |
|
|||||||
{
|
{
|
||||||
"peer": "{{ server }}",
|
"peer": "{{ server }}",
|
||||||
"api_addr": "{{ hostvars[server]['vault_api_addr'] |
|
"api_addr": "{{ hostvars[server]['vault_api_addr'] |
|
||||||
default( vault_protocol + '://' + hostvars[server]['ansible_' + hostvars[server][vault_iface]]['ipv4']['address'] ) }}"
|
default( vault_protocol + '://' + hostvars[server]['ansible_' + hostvars[server]['vault_iface']]['ipv4']['address']+ ':' + vault_port|string ) }}"
|
||||||
},
|
},
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user