Improve YAML examples - windows/win_package.py (#19407)

* Improve YAML examples - windows/win_package.py

* Fix quote

* Fix typo
pull/19497/head
Fabio Alessandro Locati 8 years ago committed by Matt Davis
parent 3c64ccd6e1
commit 06abeea5ad

@ -77,23 +77,22 @@ options:
''' '''
EXAMPLES = ''' EXAMPLES = '''
# Playbook example - name: Install the Visual C thingy
- name: Install the vc thingy
win_package: win_package:
name="Microsoft Visual C thingy" name: Microsoft Visual C thingy
path="http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x64.exe" path: http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x64.exe
Product_Id="{CF2BEA3C-26EA-32F8-AA9B-331F7E34BA97}" Product_Id: '{CF2BEA3C-26EA-32F8-AA9B-331F7E34BA97}'
Arguments="/install /passive /norestart" Arguments: /install /passive /norestart
# Install/uninstall an msi-based package - name: Install Remote Desktop Connection Manager from msi
- name: Install msi-based package (Remote Desktop Connection Manager)
win_package: win_package:
path: "https://download.microsoft.com/download/A/F/0/AF0071F3-B198-4A35-AA90-C68D103BDCCF/rdcman.msi" path: https://download.microsoft.com/download/A/F/0/AF0071F3-B198-4A35-AA90-C68D103BDCCF/rdcman.msi
product_id: "{0240359E-6A4C-4884-9E94-B397A02D893C}" product_id: '{0240359E-6A4C-4884-9E94-B397A02D893C}'
- name: Uninstall msi-based package
- name: Uninstall Remote Desktop Connection Manager installed from msi
win_package: win_package:
path: "https://download.microsoft.com/download/A/F/0/AF0071F3-B198-4A35-AA90-C68D103BDCCF/rdcman.msi" path: https://download.microsoft.com/download/A/F/0/AF0071F3-B198-4A35-AA90-C68D103BDCCF/rdcman.msi
product_id: "{0240359E-6A4C-4884-9E94-B397A02D893C}" product_id: '{0240359E-6A4C-4884-9E94-B397A02D893C}'
state: absent state: absent
''' '''

Loading…
Cancel
Save