fix xcaddy command

This commit is contained in:
Arya 2023-07-14 21:32:49 +05:30
parent 8b90ad1c57
commit 2e6dd7d9d6
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 github.com/jung-kurt/caddy-cgi=/root/caddy/caddy-cgi --output /usr/local/bin/caddy ansible.builtin.command: xcaddy build --with github.com/jung-kurt/caddy-cgi=/root/caddy/caddy-cgi --output /usr/local/bin/caddy
register: out register: out
changed_when: out.rc != 0 changed_when: out.rc != 0
- name: Print output of thing - name: Print output of thing