diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-01-23 10:48:21 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-01-23 11:48:06 +0200 |
commit | 705b909c6cb75916404efe756eee8f7c65794d55 (patch) | |
tree | 2318968ea1e168268c8a43192db6f1bf58efbbc1 /ansible/templates | |
parent | 093a15c354a71382212bfc2e4a564f81781755a8 (diff) | |
download | obnam2-705b909c6cb75916404efe756eee8f7c65794d55.tar.gz |
install: change Ansible playbook for server to support Let's Encrypt
The playbook now optionally gets a TLS certificate from Let's Encrypt,
or it can use a pre-generated certificate as before.
Diffstat (limited to 'ansible/templates')
-rw-r--r-- | ansible/templates/server.yaml.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ansible/templates/server.yaml.j2 b/ansible/templates/server.yaml.j2 new file mode 100644 index 0000000..dc8b965 --- /dev/null +++ b/ansible/templates/server.yaml.j2 @@ -0,0 +1,4 @@ +address: 0.0.0.0:443 +chunks: /srv/obnam/chunks +tls_key: "{{ tls_key_path }}" +tls_cert: "{{ tls_cert_path }}" |