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?


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1bdedc60-61a6-4e8e-82be-4cb9a28543b7n%40googlegroups.com.

Reply via email to