File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 48
48
- name : Run the install script
49
49
# NOTE: This compiles for currently running kernel, can force with --kernel-name
50
50
shell : |-
51
- {{ install_script }} -q {% if vgpu_driver_dkms %}--dkms{% endif %} --ui none --disable-nouveau --no-nouveau-check && touch {{ install_script }}.complete
51
+ {{ install_script }} -q {% if vgpu_driver_dkms %}--dkms{% endif %} --tmpdir {{ tmp_path }} -- ui none --disable-nouveau --no-nouveau-check && touch {{ install_script }}.complete
52
52
args :
53
53
creates : " {{ omit if vgpu_driver_force_install else install_script ~ '.complete' }}"
54
+ environment :
55
+ TMPDIR : " {{ tmp_path }}"
54
56
register : install_result
55
57
56
58
- name : Reboot after driver install
62
64
vars :
63
65
vgpu_driver_url_components : " {{ vgpu_driver_url | urlsplit }}"
64
66
dir_path : " /opt/{{ filename | splitext | first }}"
67
+ tmp_path : " {{ dir_path }}/tmp"
65
68
filename : " {{ vgpu_driver_url_components.path | basename }}"
66
69
install_script : " {{ find_result.files.0.path }}"
67
70
ansible_become : true
You can’t perform that action at this time.
0 commit comments