#!/bin/sh
# {{ ansible_managed }}

sudo -u acme acme.sh --debug --home /var/db/acme --standalone --httpport 8080 --renew-all
sudo -u acme acme.sh --debug --home /var/db/acme --standalone --httpport 8080 --deploy --domain {{ ansible_fqdn }} --deploy-hook haproxy