This commit is contained in:
Arya 2023-09-04 19:14:50 +05:30
parent 133d871702
commit a6a1d0e241
Signed by: arya
GPG Key ID: 842D12BDA50DF120

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 /tmp/caddy && mv /tmp/caddy /usr/local/bin
ansible.builtin.command: bash -c '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