Use the letsencrypt role
This commit is contained in:
parent
0253893148
commit
d475e2ceba
2 changed files with 2 additions and 17 deletions
|
@ -30,6 +30,8 @@
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- basessh
|
- basessh
|
||||||
|
- role: letsencrypt
|
||||||
|
site_name: taigastg.fedorainfracloud.org
|
||||||
- role: taiga
|
- role: taiga
|
||||||
taiga_back_version: stable
|
taiga_back_version: stable
|
||||||
taiga_front_version: stable
|
taiga_front_version: stable
|
||||||
|
|
|
@ -261,23 +261,6 @@
|
||||||
service: name=taiga-back state=started enabled=yes
|
service: name=taiga-back state=started enabled=yes
|
||||||
tags: taiga
|
tags: taiga
|
||||||
|
|
||||||
### letsencrypt
|
|
||||||
|
|
||||||
### script to renew certificate
|
|
||||||
- name: copy cert renew script
|
|
||||||
copy: src=renew-cert.sh dest=/usr/local/bin/renew-cert.sh mode=0755
|
|
||||||
tags:
|
|
||||||
- taiga
|
|
||||||
- cron
|
|
||||||
- letsencrypt
|
|
||||||
|
|
||||||
### cron to renew cert
|
|
||||||
- name: install cron for cert renewal
|
|
||||||
copy: src=cron-renew-cert dest=/etc/cron.d/cron-renew-cert
|
|
||||||
notify: restart crond
|
|
||||||
tags:
|
|
||||||
- taiga
|
|
||||||
- cron
|
|
||||||
|
|
||||||
### FINALLY, nginx to serve/proxy it all
|
### FINALLY, nginx to serve/proxy it all
|
||||||
- template: src=default.nginx dest=/etc/nginx/default.d/taiga.conf
|
- template: src=default.nginx dest=/etc/nginx/default.d/taiga.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue