summaryrefslogtreecommitdiff
path: root/baserock_frontend
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2017-03-17 14:39:47 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2017-03-17 16:59:41 +0000
commitfa462ad62bc0789a618aabd3b5abb9bc33786e3b (patch)
tree6dc558c52ff513cbd056c523243e5654b50dad9f /baserock_frontend
parent0335db6b8c261d76de8c5a00e212ea54b27a007e (diff)
downloadinfrastructure-fa462ad62bc0789a618aabd3b5abb9bc33786e3b.tar.gz
baserock_frontend: Update for new SSL certs
Diffstat (limited to 'baserock_frontend')
-rw-r--r--baserock_frontend/instance-config.yml13
1 files changed, 5 insertions, 8 deletions
diff --git a/baserock_frontend/instance-config.yml b/baserock_frontend/instance-config.yml
index 63187112..d5e79ff4 100644
--- a/baserock_frontend/instance-config.yml
+++ b/baserock_frontend/instance-config.yml
@@ -7,15 +7,12 @@
gather_facts: false
sudo: yes
tasks:
- # To create the .pem file, simply concatenate
- # certs/baserock.org-ssl-certificate-temporary-dsilverstone.full.cert with
- # the private key for that certificate (which is not committed to Git, of
- # course).
- name: install SSL certificate
- content: "{{ lookup('file', '../private/baserock.org-ssl-certificate-temporary-dsilverstone.pem') }}"
- dest: /etc/pki/tls/private/baserock.pem
- owner: haproxy
- mode: 400
+ copy:
+ content: "{{ lookup('file', '../private/frontend-with-key.pem') }}"
+ dest: /etc/pki/tls/private/baserock.pem
+ owner: haproxy
+ mode: 400
- name: HAProxy configuration
copy: