Merge pull request #108 from ansibl8s/set_perms_on_unarchive

Set perms on unarchive
pull/110/head
Antoine Legrand 2016-01-26 15:25:28 +01:00
commit 839974bad0
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@
unarchive: unarchive:
src: "{{ local_release_dir }}/{{item.dest}}" src: "{{ local_release_dir }}/{{item.dest}}"
dest: "{{ local_release_dir }}/{{item.dest|dirname}}" dest: "{{ local_release_dir }}/{{item.dest|dirname}}"
owner: "{{ item.owner|default(omit) }}"
mode: "{{ item.mode|default(omit) }}"
copy: no copy: no
when: "{{item.unarchive is defined and item.unarchive == True}}" when: "{{item.unarchive is defined and item.unarchive == True}}"
with_items: downloads with_items: downloads