1
0

Add SSL certificate to homepage

and rewrite some tasks
This commit is contained in:
2017-11-18 22:37:31 +03:00
parent 51ae736b53
commit 6f768a9167
8 changed files with 61 additions and 8 deletions

View File

@ -0,0 +1,15 @@
---
dependencies:
- role: ssl-certificate
cert_type: letsencrypt
cert_name: '{{ homepage_name }}'
cert_email: anwinged@ya.ru
cert_domains:
- '{{ homepage_domain }}'
- 'www.{{ homepage_domain }}'
- role: static-site
static_site_name: '{{ homepage_name }}'
static_site_domain: '{{ homepage_domain }}'
static_site_dir: '{{ homepage_dir }}'
static_site_template: homepage.conf.j2