mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-31 02:40:15 +00:00
add repo and install chocolateyGUI on chocolatey server
This commit is contained in:
1 parent
3027c3dd76
commit
8bdd80f628
1 file changed
+17
-1
@@ -44,7 +44,7 @@
|
|||||||
loop_control:
|
loop_control:
|
||||||
loop_var: package
|
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
|
- name: open package page to get Chocolatey server to load nuget packages
|
||||||
win_uri:
|
win_uri:
|
||||||
url: http://localhost:{{ opt_chocolatey_server_http_port }}/chocolatey/Packages
|
url: http://localhost:{{ opt_chocolatey_server_http_port }}/chocolatey/Packages
|
||||||
@@ -53,3 +53,19 @@
|
|||||||
url_timeout: 600
|
url_timeout: 600
|
||||||
tags: refresh_packages
|
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'"
|
||||||
|
|
||||||
Reference in new issue
Block a user