infra/playbooks/alpha/certbot.yml

15 lines
319 B
YAML
Raw Normal View History

2022-02-09 04:01:18 +00:00
---
- hosts: alpha
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:
- search.project-athens.xyz
- clips.shockrah.xyz