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

View File

@ -4,7 +4,7 @@
hosts: pubnix hosts: pubnix
tasks: tasks:
- name: Do the thing - 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 register: out
changed_when: out.rc != 0 changed_when: out.rc != 0
- name: Print output of thing - name: Print output of thing