[ansible-project] Re: unzip to unarchive

2020-08-31 Thread 'lpesc...@google.com' via Ansible Project
Bump - anyone?

On Friday, August 28, 2020 at 9:42:13 AM UTC-7 lpesc...@google.com wrote:

> I'm also curious about how the -o and -d switches in the original playbook 
> relate to the new.
>
> On Friday, August 28, 2020 at 9:41:24 AM UTC-7 lpesc...@google.com wrote:
>
>> 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/ba5a0d3b-fa7f-433b-bbe9-c141b7b4231en%40googlegroups.com.


[ansible-project] unzip to unarchive

2020-08-28 Thread 'lpesc...@google.com' via Ansible Project
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/1bdedc60-61a6-4e8e-82be-4cb9a28543b7n%40googlegroups.com.


[ansible-project] Re: unzip to unarchive

2020-08-28 Thread 'lpesc...@google.com' via Ansible Project
I'm also curious about how the -o and -d switches in the original playbook 
relate to the new.

On Friday, August 28, 2020 at 9:41:24 AM UTC-7 lpesc...@google.com wrote:

> 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/8f5adca6-ecaf-4b49-82cf-029a8066edcbn%40googlegroups.com.


[ansible-project] swapping unzip to unarchive

2020-08-28 Thread 'lpesc...@google.com' via Ansible Project
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.