mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 14:17:21 +00:00
Use local repo when installing chocolatey GUI on server
This commit is contained in:
1 parent
e267470947
commit
91861672c5
2 files changed
+7
-6
No files matched your search
@@ -52,19 +52,19 @@
|
||||
url_timeout: 600
|
||||
tags: refresh_packages
|
||||
|
||||
- name: package installs
|
||||
tags: install_packages
|
||||
# possible reboot need to refresh path (check choco path to test for reboot???)
|
||||
- name: Server Packages
|
||||
tags: server_packages
|
||||
block:
|
||||
- name: Add new internal Choco source (client machines)
|
||||
- name: Add local Chocolatey source
|
||||
win_chocolatey_source:
|
||||
name: EPCC
|
||||
state: present
|
||||
source: 'http://localhost/chocolatey'
|
||||
source: "{{ local_repo_source }}"
|
||||
|
||||
- name: Install Chocolatey GUI (client machines)
|
||||
- name: Install Chocolatey GUI
|
||||
win_chocolatey:
|
||||
name: ChocolateyGUI
|
||||
state: present
|
||||
package_params: "'/Global'"
|
||||
source: "{{ local_repo_source }}"
|
||||
|
||||
@@ -4,6 +4,7 @@ opt_chocolatey_server_http_port: 80
|
||||
opt_chocolatey_server_path: R:\tools\
|
||||
choco_package_path: R:\tools\chocolatey.server\App_Data\Packages
|
||||
local_package_path: /choco/packages/
|
||||
local_repo_source: http://localhost/chocolatey
|
||||
|
||||
community_packages:
|
||||
- { name: 'vscode.install', version: '1.83.1' }
|
||||
|
||||
Reference in new issue
Block a user