From ebbe086d3aa7298bfb9652072587f718065cbd7a Mon Sep 17 00:00:00 2001 From: gfrank Date: Thu, 20 Aug 2015 11:20:40 -0400 Subject: [PATCH] Clean up unneeded comment and comma --- lib/ansible/modules/extras/windows/win_nssm.ps1 | 2 +- lib/ansible/modules/extras/windows/win_nssm.py | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/ansible/modules/extras/windows/win_nssm.ps1 b/lib/ansible/modules/extras/windows/win_nssm.ps1 index 088914f406..f99eec66f0 100644 --- a/lib/ansible/modules/extras/windows/win_nssm.ps1 +++ b/lib/ansible/modules/extras/windows/win_nssm.ps1 @@ -98,7 +98,7 @@ Function Service-Exists [string]$name ) - return ,[bool](Get-Service "$name" -ErrorAction SilentlyContinue) + return [bool](Get-Service "$name" -ErrorAction SilentlyContinue) } Function Nssm-Remove diff --git a/lib/ansible/modules/extras/windows/win_nssm.py b/lib/ansible/modules/extras/windows/win_nssm.py index cadb90c5d3..86d343b1fd 100644 --- a/lib/ansible/modules/extras/windows/win_nssm.py +++ b/lib/ansible/modules/extras/windows/win_nssm.py @@ -80,11 +80,6 @@ options: author: "Adam Keech (@smadam813), George Frank (@georgefrank)" ''' -# TODO: -# * Better parsing when a package has dependencies - currently fails -# * Time each item that is run -# * Support 'changed' with gems - would require shelling out to `gem list` first and parsing, kinda defeating the point of using chocolatey. - EXAMPLES = ''' # Install and start the foo service win_nssm: