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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ba04e762-037e-4b0f-aa22-a7c2a47d1dfdn%40googlegroups.com.

Reply via email to