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:
parent
0cf2ecbc62
commit
4bba66e664
2 changed files with 7 additions and 10 deletions
|
@ -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
|
||||||
|
|
|
@ -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'''
|
||||||
|
|
Loading…
Reference in a new issue