diff --git a/playbooks/alpha/certbot.yml b/playbooks/alpha/certbot.yml new file mode 100644 index 0000000..67ab571 --- /dev/null +++ b/playbooks/alpha/certbot.yml @@ -0,0 +1,14 @@ +--- +- 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 + diff --git a/playbooks/beta/certbot.yml b/playbooks/beta/certbot.yml index 5f968d1..ce2fdd2 100644 --- a/playbooks/beta/certbot.yml +++ b/playbooks/beta/certbot.yml @@ -7,7 +7,6 @@ - hosts: beta remote_user: ubuntu become: yes - become_method: sudo tasks: - name: Install New Certificate for all sites command: >