infra/playbooks/beta/certbot.yml
shockrah 8c318157e3 + Certbot certificate installation
+ Pushing out all website content
+ Pushing out nginx configs
+ Resume nginx config
2021-12-15 00:52:41 -08:00

20 lines
611 B
YAML

# It is important to keep in mind that these websites are to be served under
# either port 80 or port 443. The reasoning for allowing port 80 connections
# is because the content here is not sensitive and I'm 100% sure I'm going
# to get traffic from glow-friends so there
---
- hosts: beta
remote_user: ubuntu
become: yes
become_method: sudo
tasks:
- name: Install New Certificate for all sites
command: >
certbot -n --nginx -m "{{CERT_EMAIL}}" --agree-tos
--domains "{{item}}"
loop:
- freechat.shockrah.xyz
- shockrah.xyz
- resume.shockrah.xyz