add repo and install chocolateyGUI on chocolatey server

This commit is contained in:
abrown38 committed 2024-04-12 14:09:27 +00:00
1 parent 3027c3dd76
commit 8bdd80f628
1 file changed
+17 -1
@@ -44,7 +44,7 @@
loop_control:
loop_var: package
# taken from jborean93.win_chocolatey_server handler and modified with longer timeout
# taken from jborean93.win_chocolatey_server handler and modified with longer timeout (Create handler???)
- name: open package page to get Chocolatey server to load nuget packages
win_uri:
url: http://localhost:{{ opt_chocolatey_server_http_port }}/chocolatey/Packages
@@ -53,3 +53,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???)
block:
- name: Add new internal Choco source (client machines)
win_chocolatey_source:
name: EPCC
state: present
source: 'http://localhost/chocolatey'
- name: Install Chocolatey GUI (client machines)
win_chocolatey:
name: ChocolateyGUI
state: present
package_params: "'/Global'"