doc: Update pscx examples (#37245)

* win_chocolatey: replace pscx example

PSCX is no longer distributed via Chocolatey: https://chocolatey.org/packages/pscx#comment-3762408157

* win_unzip example: install psxc via win_psmodule
pull/37442/head
Simon Legner 6 years ago committed by Jordan Borean
parent 0cf2ecbc62
commit 4bba66e664

@ -167,7 +167,8 @@ EXAMPLES = r'''
name: '{{ item }}'
state: present
with_items:
- pscx
- procexp
- putty
- windirstat
- name: uninstall multiple packages
@ -175,7 +176,8 @@ EXAMPLES = r'''
name: '{{ item }}'
state: absent
with_items:
- pscx
- procexp
- putty
- windirstat
- name: Install curl using proxy

@ -84,15 +84,10 @@ EXAMPLES = r'''
recurse: yes
delete_archive: yes
# Install PSCX to use for extracting a gz file
- name: Grab PSCX msi
win_get_url:
url: http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=pscx&DownloadId=923562&FileTime=130585918034470000&Build=20959
dest: C:\Windows\Temp\pscx.msi
- name: Install PSCX
win_msi:
path: C:\Windows\Temp\pscx.msi
win_psmodule:
name: Pscx
state: present
'''
RETURN = r'''

Loading…
Cancel
Save