fix pubnix caddy builds

This commit is contained in:
Arya 2023-09-04 17:58:34 +05:30
parent 607f3fdb64
commit 133d871702
Signed by: arya
GPG Key ID: 842D12BDA50DF120
1 changed files with 1 additions and 1 deletions

View File

@ -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