Set perms on unarchive

This commit is contained in:
Antoine Legrand 2016-01-26 12:17:33 +01:00
parent 8676f8761f
commit 49a7278563

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