Hi all,
I want to change this to unarchive:
-
name: unpack-protos-bin
shell: unzip -o /root/.ansible-management/file.zip -d /usr/local bin/protoc
args:
executable: /bin/bash
notify: -
unpack-proto-includes
-
name: unpack-proto-includes
shell: unzip -o /root/.ansible-management/file.zip -d /usr/local include/*
args:
executable: /bin/bash
This is what I have surmounted, but not sure if it’s correct:
-
name: unpack-protos-bin
unarchive:
src: file.zip
dest: /usr/local/bin/protoc
notify: -
unpack-proto-includes
-
name: unpack-proto-includes
unarchive:
src: https://github.com/google/protobuf/releases/download/v3.4.0/file.zip
dest: /usr/local/include/*
Can anyone tell me if I am correct, and if not, how to resolve?