From 0ede11da3b9c51ab0c9a3e11c4745704f516b07e Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Mon, 12 Nov 2018 20:44:57 +0100 Subject: [PATCH] win_product_facts: Implement review suggestions (#48573) --- lib/ansible/modules/windows/win_product_facts.ps1 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/ansible/modules/windows/win_product_facts.ps1 b/lib/ansible/modules/windows/win_product_facts.ps1 index cda25826d3..bde347f918 100644 --- a/lib/ansible/modules/windows/win_product_facts.ps1 +++ b/lib/ansible/modules/windows/win_product_facts.ps1 @@ -5,15 +5,13 @@ #AnsibleRequires -CSharpUtil Ansible.Basic +# This modules does not accept any options $spec = @{ - options = @{} supports_check_mode = $true } $module = [Ansible.Basic.AnsibleModule]::Create($args, $spec) -$module.Result.changed = $false - # First try to find the product key from ACPI try { $product_key = (Get-CimInstance -Class SoftwareLicensingService).OA3xOriginalProductKey