bash -c
This commit is contained in:
parent
133d871702
commit
a6a1d0e241
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user