Skip to content

Commit 1b62b6b

Browse files
authored
Merge pull request #75 from stackhpc/openbao-enable-ui
2 parents aad42d0 + ab14f6b commit 1b62b6b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

roles/openbao/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Role variables
3838
* `openbao_write_keys_file`: Whether to write the root token and unseal keys to a file. Default `false`
3939
* `openbao_write_keys_file_host`: Host on which to write root token and unseal keys. Default `localhost`
4040
* `openbao_write_keys_file_path`: Path of file to write root token and unseal keys. Default `bao-keys.json`
41+
* `openbao_enable_ui`: Whether to enable user interface that could be accessed from the `openbao_api_addr`. Default `false`
4142

4243
Root and unseal keys
4344
--------------------

roles/openbao/defaults/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ openbao_tls_cert: ""
1919

2020
openbao_config_dir: ""
2121

22+
openbao_enable_ui: false
23+
2224
openbao_config: >
2325
{
2426
"cluster_name": "{{ openbao_cluster_name }}",
25-
"ui": false,
27+
"ui": "{{ openbao_enable_ui }}",
2628
"api_addr": "{{ openbao_api_addr }}",
2729
"cluster_addr": "http://127.0.0.1:8201",
2830
"listener": [{

0 commit comments

Comments
 (0)