From c8d3dd9a1539964378789bd9cd629d5a3b0c6eb5 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Fri, 6 Jan 2017 22:00:32 +0100 Subject: [PATCH] Small fixes --- lib/ansible/modules/windows/win_package.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/ansible/modules/windows/win_package.py b/lib/ansible/modules/windows/win_package.py index 7136f4bb3c..edbc590f30 100644 --- a/lib/ansible/modules/windows/win_package.py +++ b/lib/ansible/modules/windows/win_package.py @@ -46,7 +46,7 @@ options: default: null product_id: description: - - product id of the installed package (used for checking if already installed) + - Product id of the installed package (used for checking if already installed) - You can find product ids for installed programs in the windows registry either in C(HKLM:Software\\Microsoft\\Windows\CurrentVersion\\Uninstall) or for 32 bit programs C(HKLM:Software\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall)' required: true aliases: [productid] @@ -66,12 +66,12 @@ options: aliases: [ensure] user_name: description: - - Username of an account with access to the package if its located on a file share. Only needed if the winrm user doesn't have access to the package. Also specify user_password for this to function properly. + - Username of an account with access to the package if it's located on a file share. Only needed if the winrm user doesn't have access to the package. Also specify user_password for this to function properly. default: null required: false user_password: description: - - Password of an account with access to the package if its located on a file share. Only needed if the winrm user doesn't have access to the package. Also specify user_name for this to function properly. + - Password of an account with access to the package if it's located on a file share. Only needed if the winrm user doesn't have access to the package. Also specify user_name for this to function properly. default: null required: false ''' @@ -81,8 +81,8 @@ EXAMPLES = ''' win_package: name: Microsoft Visual C thingy 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}' - Arguments: /install /passive /norestart + product_id: '{CF2BEA3C-26EA-32F8-AA9B-331F7E34BA97}' + arguments: /install /passive /norestart - name: Install Remote Desktop Connection Manager from msi win_package: @@ -95,4 +95,3 @@ EXAMPLES = ''' product_id: '{0240359E-6A4C-4884-9E94-B397A02D893C}' state: absent ''' -