mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-31 09:00:15 +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
|
url_timeout: 600
|
||||||
tags: refresh_packages
|
tags: refresh_packages
|
||||||
|
|
||||||
- name: package installs
|
- name: Server Packages
|
||||||
tags: install_packages
|
tags: server_packages
|
||||||
# possible reboot need to refresh path (check choco path to test for reboot???)
|
|
||||||
block:
|
block:
|
||||||
- name: Add new internal Choco source (client machines)
|
- name: Add local Chocolatey source
|
||||||
win_chocolatey_source:
|
win_chocolatey_source:
|
||||||
name: EPCC
|
name: EPCC
|
||||||
state: present
|
state: present
|
||||||
source: 'http://localhost/chocolatey'
|
source: "{{ local_repo_source }}"
|
||||||
|
|
||||||
- name: Install Chocolatey GUI (client machines)
|
- name: Install Chocolatey GUI
|
||||||
win_chocolatey:
|
win_chocolatey:
|
||||||
name: ChocolateyGUI
|
name: ChocolateyGUI
|
||||||
state: present
|
state: present
|
||||||
package_params: "'/Global'"
|
package_params: "'/Global'"
|
||||||
|
source: "{{ local_repo_source }}"
|
||||||
|
|
||||||
@@ -4,6 +4,7 @@ opt_chocolatey_server_http_port: 80
|
|||||||
opt_chocolatey_server_path: R:\tools\
|
opt_chocolatey_server_path: R:\tools\
|
||||||
choco_package_path: R:\tools\chocolatey.server\App_Data\Packages
|
choco_package_path: R:\tools\chocolatey.server\App_Data\Packages
|
||||||
local_package_path: /choco/packages/
|
local_package_path: /choco/packages/
|
||||||
|
local_repo_source: http://localhost/chocolatey
|
||||||
|
|
||||||
community_packages:
|
community_packages:
|
||||||
- { name: 'vscode.install', version: '1.83.1' }
|
- { name: 'vscode.install', version: '1.83.1' }
|
||||||
|
|||||||
Reference in new issue
Block a user