Hi,
Thank you. I find this way of doing to do what I need with your help :
vars:
modules:
- {name: 'test', url: 'https://url', archive: 'test.ar.gz'}
- {name: 'test2', url: 'https://url2', archive: 'test.zip'}
tasks:
- name: Extract archives
unarchive:
src=/tmp/{{ item.archive}}
dest=/tmp/modules copy=no
with_items: "{{ modules }}"
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/a0b1bb40-8b63-4ed9-a2d2-0d6482fddbae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.