summaryrefslogtreecommitdiff
path: root/baserock_frontend/instance-config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'baserock_frontend/instance-config.yml')
-rw-r--r--baserock_frontend/instance-config.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/baserock_frontend/instance-config.yml b/baserock_frontend/instance-config.yml
index d7ce842b..63187112 100644
--- a/baserock_frontend/instance-config.yml
+++ b/baserock_frontend/instance-config.yml
@@ -12,7 +12,12 @@
# the private key for that certificate (which is not committed to Git, of
# course).
- name: install SSL certificate
- copy: src=../private/baserock.org-ssl-certificate-temporary-dsilverstone.pem dest=/etc/pki/tls/private/baserock.pem owner=haproxy mode=400
+ content: "{{ lookup('file', '../private/baserock.org-ssl-certificate-temporary-dsilverstone.pem') }}"
+ dest: /etc/pki/tls/private/baserock.pem
+ owner: haproxy
+ mode: 400
- name: HAProxy configuration
- copy: src=haproxy.cfg dest=/etc/haproxy/haproxy.cfg
+ copy:
+ src: haproxy.cfg
+ dest: /etc/haproxy/haproxy.cfg