mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Clean up unneeded comment and comma
This commit is contained in:
parent
fbf6c2ddc3
commit
ebbe086d3a
2 changed files with 1 additions and 6 deletions
|
@ -98,7 +98,7 @@ Function Service-Exists
|
||||||
[string]$name
|
[string]$name
|
||||||
)
|
)
|
||||||
|
|
||||||
return ,[bool](Get-Service "$name" -ErrorAction SilentlyContinue)
|
return [bool](Get-Service "$name" -ErrorAction SilentlyContinue)
|
||||||
}
|
}
|
||||||
|
|
||||||
Function Nssm-Remove
|
Function Nssm-Remove
|
||||||
|
|
|
@ -80,11 +80,6 @@ options:
|
||||||
author: "Adam Keech (@smadam813), George Frank (@georgefrank)"
|
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 = '''
|
EXAMPLES = '''
|
||||||
# Install and start the foo service
|
# Install and start the foo service
|
||||||
win_nssm:
|
win_nssm:
|
||||||
|
|
Loading…
Reference in a new issue