summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Copeland <ben.copeland@linaro.org>2017-11-23 15:37:54 +0000
committerBenjamin Copeland <ben.copeland@linaro.org>2017-11-23 15:47:20 +0000
commit0b89a23b63d0cb84f1052370a4e9415a8463743c (patch)
tree24ec216b5350f30877dcf3941c273a9d4bad0420
parent2bba0cd523384c2cd2ba3c33f029e32afb9e3006 (diff)
downloadansible-playbooks-0b89a23b63d0cb84f1052370a4e9415a8463743c.tar.gz
Patches: add letsencrypt for patches.opendataplane.org
Change-Id: I15a5797d1734f06f76efbc5f4ac8b500cc9ce10d Reviewed-on: https://review.linaro.org/22624 Reviewed-by: Benjamin Copeland <ben.copeland@linaro.org>
-rw-r--r--host_vars/patches.opendataplane.org3
-rw-r--r--patchwork.yml2
2 files changed, 4 insertions, 1 deletions
diff --git a/host_vars/patches.opendataplane.org b/host_vars/patches.opendataplane.org
new file mode 100644
index 00000000..6ce1862a
--- /dev/null
+++ b/host_vars/patches.opendataplane.org
@@ -0,0 +1,3 @@
+ssl_cert: /etc/letsencrypt/live/{{inventory_hostname}}/cert.pem
+ssl_key: /etc/letsencrypt/live/{{inventory_hostname}}/privkey.pem
+ssl_ca_cert: /etc/letsencrypt/live/{{inventory_hostname}}/chain.pem
diff --git a/patchwork.yml b/patchwork.yml
index bca3a3e0..422bbc08 100644
--- a/patchwork.yml
+++ b/patchwork.yml
@@ -6,10 +6,10 @@
- "{{secrets_dir}}/host_vars/{{inventory_hostname}}"
roles:
- postgres
+ - {role: apache-site, src: patchwork/apache.conf, config: "{{inventory_hostname}}", tags: [apache] }
- patchwork-deps
- letsencrypt
- {role: django, tags: [django]}
- - {role: apache-site, src: patchwork/apache.conf, config: "{{inventory_hostname}}", tags: [apache] }
- name: Configure extra syncing for patches.linaro.org
hosts: patches.linaro.org