1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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
This commit is contained in:
Simon Legner 2018-03-15 00:10:58 +01:00 committed by Jordan Borean
parent 0cf2ecbc62
commit 4bba66e664
2 changed files with 7 additions and 10 deletions

View file

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

View file

@ -84,15 +84,10 @@ EXAMPLES = r'''
recurse: yes recurse: yes
delete_archive: 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 - name: Install PSCX
win_msi: win_psmodule:
path: C:\Windows\Temp\pscx.msi name: Pscx
state: present
''' '''
RETURN = r''' RETURN = r'''