We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1b4b2d5 + 631ebbd commit 9088eb0Copy full SHA for 9088eb0
roles/openbao/defaults/main.yml
@@ -13,6 +13,7 @@ openbao_cluster_name: ""
13
14
openbao_tls_key: ""
15
openbao_tls_cert: ""
16
+openbao_tls_ca: ""
17
18
openbao_protocol: "{{ 'https' if openbao_tls_key and openbao_tls_cert else 'http' }}"
19
@@ -59,7 +60,9 @@ openbao_config: >
59
60
"path": "/openbao/file",
61
{% if openbao_raft_leaders | length > 0 %}
62
"retry_join": {
- "leader_api_addr": "{{ openbao_protocol }}://{{ openbao_raft_leaders | first }}:{{ openbao_api_port }}"
63
+ "leader_api_addr": "{{ openbao_protocol }}://{{ openbao_raft_leaders | first }}:{{ openbao_api_port }}"{% if openbao_tls_ca %},
64
+ "leader_ca_cert_file": "/openbao/config/{{ openbao_tls_ca }}"
65
+ {% endif %}
66
}
67
{% endif %}
68
0 commit comments