Merge pull request #108 from ansibl8s/set_perms_on_unarchive
Set perms on unarchive
This commit is contained in:
commit
839974bad0
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue