This commit is contained in:
@ -1,4 +1,5 @@
|
||||
#! /bin/bash
|
||||
systemctl stop haproxy
|
||||
certbot renew --standalone --cert-name neko.tormakristof.eu
|
||||
certbot renew --standalone --cert-name turn.tormakristof.eu
|
||||
systemctl start haproxy
|
||||
|
@ -27,10 +27,14 @@
|
||||
name:
|
||||
- python3-certbot
|
||||
|
||||
- name: Generate certificate for all proxied domains
|
||||
- name: Generate certificate for Neko domain
|
||||
command:
|
||||
cmd: certbot certonly --non-interactive --agree-tos -m tormakristof@tormakristof.eu --standalone -d neko.tormakristof.eu
|
||||
|
||||
- name: Generate certificate for TURN domain
|
||||
command:
|
||||
cmd: certbot certonly --non-interactive --agree-tos -m tormakristof@tormakristof.eu --standalone -d turn.tormakristof.eu
|
||||
|
||||
- name: Enable and start haproxy
|
||||
service:
|
||||
name: haproxy
|
||||
|
Reference in New Issue
Block a user