Skip to content

Commit 7371658

Browse files
committed
Set default CONSUL_TLS_DIR value — fixes 95
1 parent fd220ec commit 7371658

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,8 @@ Actually add new template files :facepalm:
699699
- Fix formatting in README_VAGRANT (thanks @jstoja)
700700
- Update CONTRIBUTORS
701701

702-
## v1.25.1 (UNRELEASED)
702+
## v1.25.1
703703

704704
- Support rolling upgrades on systemd based Linux (thanks oliverprater)
705705
- Fix breaking change in paths and runtime warnings (thanks oliverprater)
706+
- Set CONSUL_TLS_DIR default to `/etc/consul/ssl` for #95

defaults/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ consul_acl_policy: false
110110
## TLS
111111
consul_tls_enable: "{{ lookup('env','CONSUL_TLS_ENABLE') | default(false, true) }}"
112112
consul_tls_src_files: "{{ lookup('env','CONSUL_TLS_SRC_FILES') | default(role_path+'/files', true) }}"
113-
consul_tls_dir: "{{ lookup('env','CONSUL_TLS_DIR') | default({{ consul_config_path }}/ssl, true) }}"
113+
114+
consul_tls_dir: "{{ lookup('env','CONSUL_TLS_DIR') | default('/etc/consul/ssl', true) }}"
115+
114116
consul_tls_ca_crt: "{{ lookup('env','CONSUL_TLS_CA_CRT') | default('ca.crt', true) }}"
115117
consul_tls_server_crt: "{{ lookup('env','CONSUL_SERVER_CRT') | default('server.crt', true) }}"
116118
consul_server_key: "{{ lookup('env','CONSUL_SERVER_KEY') | default('server.key', true) }}"

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.25.0
1+
v1.25.1

0 commit comments

Comments
 (0)