From 7bb82cce526e3d7008e05c43680f4b64b6f95af8 Mon Sep 17 00:00:00 2001 From: shockrah Date: Tue, 8 Feb 2022 20:01:18 -0800 Subject: [PATCH] * Fixing alpha certbot host target --- playbooks/alpha/certbot.yml | 14 ++++++++++++++ playbooks/beta/certbot.yml | 1 - 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 playbooks/alpha/certbot.yml 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: >