Improve speed of permissions changes
The previous patch was very slow given the number of files which required permissions changes. This targets the entire temporary directory recursively. Change-Id: I7418d285ea052f67febee31038d92c772b72593b
This commit is contained in:
parent
680a728876
commit
b59fd648c2
@ -155,10 +155,11 @@
|
||||
|
||||
- name: Set wheel permissions
|
||||
file:
|
||||
path: "{{ item['path'] }}"
|
||||
path: "/tmp/{{ venv_install_destination_path | basename }}"
|
||||
owner: "{{ venv_build_host_user_name | default(omit) }}"
|
||||
group: "{{ venv_build_host_group_name | default(omit) }}"
|
||||
with_items: "{{ _built_wheels['files'] }}"
|
||||
state: directory
|
||||
recurse: yes
|
||||
when:
|
||||
- (venv_build_host_user_name is defined) or
|
||||
(venv_build_host_group_name is defined)
|
||||
|
Loading…
x
Reference in New Issue
Block a user