mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 14:07:21 +00:00
download latest version of base software
This commit is contained in:
1 parent
201c3c277e
commit
d320117258
2 files changed
+49
-40
No files matched your search
@@ -12,14 +12,23 @@
|
|||||||
- name: Community Pacakges
|
- name: Community Pacakges
|
||||||
tags: community_packages
|
tags: community_packages
|
||||||
block:
|
block:
|
||||||
- name: Download base software packages to Chocolatey server.
|
- name: Create Package folder
|
||||||
|
win_file:
|
||||||
|
path: "{{ choco_package_path }}\\{{ package }}"
|
||||||
|
state: directory
|
||||||
|
loop: "{{ community_packages }}"
|
||||||
|
loop_control:
|
||||||
|
loop_var: package
|
||||||
|
|
||||||
|
- name: Download nupkg to Chocolatey server.
|
||||||
win_get_url:
|
win_get_url:
|
||||||
url: "https://community.chocolatey.org/api/v2/package/{{ package.name }}/{{ package.version }}"
|
url: "https://community.chocolatey.org/api/v2/package/{{ package }}"
|
||||||
dest: "{{ choco_package_path }}\\{{ package.name }}.{{ package.version }}.nupkg"
|
dest: "{{ choco_package_path }}\\{{ package }}.nupkg"
|
||||||
loop: "{{ community_packages }}"
|
loop: "{{ community_packages }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: package
|
loop_var: package
|
||||||
pause: 10
|
pause: 10
|
||||||
|
|
||||||
rescue: # Fallback to local copies if rate limiting causes failure
|
rescue: # Fallback to local copies if rate limiting causes failure
|
||||||
- name: Local fallback - Get list of local packages
|
- name: Local fallback - Get list of local packages
|
||||||
vars:
|
vars:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
choco_drive_letter: R
|
installchoco_drive_letter: R
|
||||||
choco_drive_label: Chocolatey
|
choco_drive_label: Chocolatey
|
||||||
opt_chocolatey_server_http_port: 80
|
opt_chocolatey_server_http_port: 80
|
||||||
opt_chocolatey_server_path: R:\tools\
|
opt_chocolatey_server_path: R:\tools\
|
||||||
@@ -8,39 +8,39 @@ community_package_path: /choco/packages/community/
|
|||||||
local_repo_source: http://localhost/chocolatey
|
local_repo_source: http://localhost/chocolatey
|
||||||
|
|
||||||
community_packages:
|
community_packages:
|
||||||
- { name: 'vscode.install', version: '1.83.1' }
|
- vscode.install
|
||||||
- { name: 'vscode', version: '1.83.1' }
|
- vscode
|
||||||
- { name: 'chocolatey-windowsupdate.extension', version: '1.0.5' }
|
- chocolatey-windowsupdate.extension
|
||||||
- { name: 'KB4019990', version: '1.0.2' }
|
- KB4019990
|
||||||
- { name: 'KB2919442', version: '1.0.20160915' }
|
- KB2919442
|
||||||
- { name: 'KB2919355', version: '1.0.20160915' }
|
- KB2919355
|
||||||
- { name: 'KB2999226', version: '1.0.20181019' }
|
- KB2999226
|
||||||
- { name: 'KB3033929', version: '1.0.5' }
|
- KB3033929
|
||||||
- { name: 'KB3035131', version: '1.0.3' }
|
- KB3035131
|
||||||
- { name: 'firefox', version: '116.0.2' }
|
- firefox
|
||||||
- { name: 'microsoft-office-deployment', version: '16.0.17531.20046' }
|
- microsoft-office-deployment
|
||||||
- { name: 'r.studio', version: '2023.6.1' }
|
- r.studio
|
||||||
- { name: 'notepadplusplus.install', version: '8.6.2' }
|
- notepadplusplus.install
|
||||||
- { name: 'notepadplusplus', version: '8.6.2' }
|
- notepadplusplus
|
||||||
- { name: 'windirstat', version: '1.1.2.20161210' }
|
- windirstat
|
||||||
- { name: 'adobereader', version: '2023.3.20269' }
|
- adobereader
|
||||||
- { name: 'vcredist140', version: '14.38.33135' }
|
- vcredist140
|
||||||
- { name: 'vcredist2015', version: '14.0.24215.20170201' }
|
- vcredist2015
|
||||||
- { name: 'python312', version: '3.12.0' }
|
- python312
|
||||||
- { name: 'DotNet4.6', version: '4.6.00081.20150925' }
|
- DotNet4.6
|
||||||
- { name: 'dotnet4.7.2', version: '4.7.2.20180712' }
|
- dotnet4.7.2
|
||||||
- { name: 'chocolatey.server', version: '0.3.0' }
|
- chocolatey.server
|
||||||
- { name: 'chocolatey-dotnetfx.extension', version: '1.0.1' }
|
- chocolatey-dotnetfx.extension
|
||||||
- { name: 'ChocolateyGUI', version: '2.1.1' }
|
- ChocolateyGUI
|
||||||
- { name: 'chocolatey-core.extension', version: '1.4.0' }
|
- chocolatey-core.extension
|
||||||
- { name: 'dotnetfx', version: '4.8.0.20220524' }
|
- dotnetfx
|
||||||
- { name: 'Chocolatey', version: '2.2.2' }
|
- Chocolatey
|
||||||
- { name: 'chocolatey-compatibility.extension', version: '1.0.0' }
|
- chocolatey-compatibility.extension
|
||||||
- { name: 'R.Project', version: '4.3.1' }
|
- R.Project
|
||||||
- { name: 'veeam-agent', version: '6.1.0.350' }
|
- veeam-agent
|
||||||
- { name: 'DotNet4.5.2', version: '4.5.2.20140902' }
|
- DotNet4.5.2
|
||||||
- { name: 'PowerBI', version: '2.128.952.0' }
|
- PowerBI
|
||||||
- { name: 'GoogleChrome', version: '127.0.6533.89' }
|
- GoogleChrome
|
||||||
- { name: 'visualstudio2019professional', version: '16.11.39' }
|
- visualstudio2019professional
|
||||||
- { name: 'sql-server-2017', version: '14.0.1000' }
|
- sql-server-2017
|
||||||
- { name: 'sql-server-management-studio', version: '20.2.30' }
|
- sql-server-management-studio
|
||||||
Reference in new issue
Block a user