From 133d871702034697e8a686d4e2663ea475d46f32 Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Mon, 4 Sep 2023 17:58:34 +0530 Subject: [PATCH] fix pubnix caddy builds --- cron/caddy-builds-pubnix.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/caddy-builds-pubnix.yaml b/cron/caddy-builds-pubnix.yaml index b2fba25..845cdd5 100644 --- a/cron/caddy-builds-pubnix.yaml +++ b/cron/caddy-builds-pubnix.yaml @@ -4,7 +4,7 @@ hosts: pubnix tasks: - name: Do the thing - ansible.builtin.command: xcaddy build --with github.com/aksdb/caddy-cgi/v2@master --output /usr/local/bin/caddy + ansible.builtin.command: xcaddy build --with github.com/aksdb/caddy-cgi/v2@master --output /tmp/caddy && mv /tmp/caddy /usr/local/bin register: out changed_when: out.rc != 0 - name: Print output of thing