diff --git a/roles/files/debian/setup/scripts/acme_scripts/cloudflare.sh b/roles/files/debian/setup/scripts/acme_scripts/cloudflare.sh index 0096401..f2df1be 100644 --- a/roles/files/debian/setup/scripts/acme_scripts/cloudflare.sh +++ b/roles/files/debian/setup/scripts/acme_scripts/cloudflare.sh @@ -1,8 +1,10 @@ #!/bin/bash -# Read CF_Token and ACME_Email from .env +# Read CF_Token from .env source ".env" +export CF_Token "$CF_Token" + /root/.acme.sh/acme.sh --upgrade --auto-upgrade # Array of domains diff --git a/roles/files/debian/setup/scripts/acme_scripts/duckdns.sh b/roles/files/debian/setup/scripts/acme_scripts/duckdns.sh index 2781409..1830708 100644 --- a/roles/files/debian/setup/scripts/acme_scripts/duckdns.sh +++ b/roles/files/debian/setup/scripts/acme_scripts/duckdns.sh @@ -3,6 +3,8 @@ # Read DuckDNS_Token and ACME_Email from .env source ".env" +export DuckDNS_Token "$DuckDNS_Token" + /root/.acme.sh/acme.sh --upgrade --auto-upgrade # Array of main domains diff --git a/roles/tasks/debian/setup.yml b/roles/tasks/debian/setup.yml index 6afbc2c..ca22f98 100644 --- a/roles/tasks/debian/setup.yml +++ b/roles/tasks/debian/setup.yml @@ -44,6 +44,7 @@ - cifs-utils - borgbackup - curl + - wget - syncthing - socat - fish