20 lines
611 B
YAML
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
|