Created
January 17, 2023 19:11
-
-
Save danibyay/495db42fe72999e6a0ec30db1525593b to your computer and use it in GitHub Desktop.
part of a windows ansible role
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Create C:\TEMP directory | |
win_file: path='C:\TEMP' state=directory | |
- name: Download OneApi2022.3 | |
ansible.windows.win_powershell: | |
script: | | |
az storage file download --account-name xxxxxx --account-key {{ key }} --share-name ansible-files --path "Intel.7z" --dest "C:\TEMP\Intel.7z" --output none | |
- name: Extract archive | |
ansible.windows.win_powershell: | |
script: | | |
set-location c:\Temp | |
7z.exe x Intel.7z | |
- name: "Install Intel OneApi 2022.3.0.9573" | |
win_package: | |
path: 'C:\TEMP\Intel\intel.oneapi.win.BaseKit.package,v=2022.3.0-9573\bootstrapper.exe' | |
arguments: | |
- --silent | |
- --eula | |
- accept | |
- -p=NEED_VS2017_INTEGRATION=0 | |
- -p=NEED_VS2019_INTEGRATION=0 | |
- -p=NEED_VS2022_INTEGRATION=0 | |
creates_path: 'C:\Program Files (x86)\Intel\oneAPI\' | |
state: present |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment