09979e899f
* win_nssm: rename cmdlets to use approved verbs, rename service name parameters * win_nssm: improve code style and cmdlets ordering * win_nssm: always escape all command line parameters with Argv-ToString fix error when the service name contains quotes * win_nssm: use Fail-Json instead of exceptions and remove global try/catch * win_nssm: small refactoring, inline some functions * win_nssm: refactoring - add a generic cmdlet to idempotently set any nssm service parameter * win_nssm: refactoring - inline some functions To make the code more malleable for future changes * win_nssm: change application, stdout_file and stderr_file options type to path * win_nssm: deprecates app_parameters, rename app_parameters_free_form to arguments, and add support for list of parameters * win_nssm: add support of check mode * win_nssm: add working_directory option * win_nssm: add display_name and description options * win_nssm: minor changes * win_nssm: remove some sanity exclusions * win_nssm: avoid using aliases and minor style fixes * win_nssm: doc and ui improvements * win_nssm: remove sanity exclusions * win_nssm: minor revision * win_nssm: deprecates dependencies, start_mode, user and password parameters and some choices of state in favor of win_service * win_nssm: fix style * win_nssm: add executable option to specify the location of the NSSM utility * win_nssm: add missing parameter types * win_nssm: add diff mode support * win_nssm: avoid displaying depreciation warning if default value is assigned * win_nssm: fix variable scope * win_nssm: use the explicit -LiteralPath parameter name instead of -Path * win_nssm: fix documentation * win_nssm: add porting guide entries * win_nssm: add changelog fragment
181 lines
14 KiB
Text
181 lines
14 KiB
Text
examples/scripts/ConfigureRemotingForAnsible.ps1 PSAvoidTrailingWhitespace
|
|
examples/scripts/ConfigureRemotingForAnsible.ps1 PSAvoidUsingCmdletAliases
|
|
examples/scripts/ConfigureRemotingForAnsible.ps1 PSCustomUseLiteralPath
|
|
examples/scripts/upgrade_to_ps3.ps1 PSAvoidTrailingWhitespace
|
|
examples/scripts/upgrade_to_ps3.ps1 PSAvoidUsingWriteHost
|
|
examples/scripts/upgrade_to_ps3.ps1 PSCustomUseLiteralPath
|
|
examples/scripts/upgrade_to_ps3.ps1 PSUseApprovedVerbs
|
|
lib/ansible/executor/powershell/async_watchdog.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/executor/powershell/async_wrapper.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/executor/powershell/exec_wrapper.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/module_utils/powershell/Ansible.ModuleUtils.ArgvParser.psm1 PSUseApprovedVerbs
|
|
lib/ansible/module_utils/powershell/Ansible.ModuleUtils.CamelConversion.psm1 PSAvoidTrailingWhitespace
|
|
lib/ansible/module_utils/powershell/Ansible.ModuleUtils.CommandUtil.psm1 PSProvideCommentHelp # need to agree on best format for comment location
|
|
lib/ansible/module_utils/powershell/Ansible.ModuleUtils.CommandUtil.psm1 PSUseApprovedVerbs
|
|
lib/ansible/module_utils/powershell/Ansible.ModuleUtils.FileUtil.psm1 PSCustomUseLiteralPath
|
|
lib/ansible/module_utils/powershell/Ansible.ModuleUtils.FileUtil.psm1 PSProvideCommentHelp
|
|
lib/ansible/module_utils/powershell/Ansible.ModuleUtils.Legacy.psm1 PSAvoidUsingWMICmdlet
|
|
lib/ansible/module_utils/powershell/Ansible.ModuleUtils.Legacy.psm1 PSCustomUseLiteralPath
|
|
lib/ansible/module_utils/powershell/Ansible.ModuleUtils.Legacy.psm1 PSUseApprovedVerbs
|
|
lib/ansible/module_utils/powershell/Ansible.ModuleUtils.LinkUtil.psm1 PSAvoidTrailingWhitespace
|
|
lib/ansible/module_utils/powershell/Ansible.ModuleUtils.LinkUtil.psm1 PSUseApprovedVerbs
|
|
lib/ansible/module_utils/powershell/Ansible.ModuleUtils.SID.psm1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/async_status.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/setup.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/setup.ps1 PSAvoidUsingCmdletAliases
|
|
lib/ansible/modules/windows/setup.ps1 PSAvoidUsingEmptyCatchBlock
|
|
lib/ansible/modules/windows/setup.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/setup.ps1 PSUseDeclaredVarsMoreThanAssignments
|
|
lib/ansible/modules/windows/win_acl_inheritance.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_audit_rule.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_chocolatey.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_chocolatey_config.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_chocolatey_facts.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_chocolatey_facts.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_chocolatey_source.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_copy.ps1 PSUseApprovedVerbs
|
|
lib/ansible/modules/windows/win_copy.ps1 PSUseDeclaredVarsMoreThanAssignments
|
|
lib/ansible/modules/windows/win_credential.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_credential.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_credential.ps1 PSUsePSCredentialType # The Credential parameter is a custom .NET type
|
|
lib/ansible/modules/windows/win_disk_facts.ps1 PSUseDeclaredVarsMoreThanAssignments
|
|
lib/ansible/modules/windows/win_dns_client.ps1 PSAvoidGlobalVars
|
|
lib/ansible/modules/windows/win_dns_client.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_dns_client.ps1 PSAvoidUsingCmdletAliases
|
|
lib/ansible/modules/windows/win_dns_client.ps1 PSAvoidUsingWMICmdlet
|
|
lib/ansible/modules/windows/win_dns_client.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_dns_client.ps1 PSUseApprovedVerbs
|
|
lib/ansible/modules/windows/win_dns_client.ps1 PSUseDeclaredVarsMoreThanAssignments
|
|
lib/ansible/modules/windows/win_domain.ps1 PSAvoidUsingEmptyCatchBlock
|
|
lib/ansible/modules/windows/win_domain.ps1 PSUseApprovedVerbs
|
|
lib/ansible/modules/windows/win_domain.ps1 PSUseDeclaredVarsMoreThanAssignments
|
|
lib/ansible/modules/windows/win_domain_controller.ps1 PSAvoidGlobalVars
|
|
lib/ansible/modules/windows/win_domain_controller.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_domain_controller.ps1 PSAvoidUsingWMICmdlet
|
|
lib/ansible/modules/windows/win_domain_controller.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_domain_controller.ps1 PSUseApprovedVerbs
|
|
lib/ansible/modules/windows/win_domain_controller.ps1 PSUseDeclaredVarsMoreThanAssignments
|
|
lib/ansible/modules/windows/win_domain_group.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_domain_membership.ps1 PSAvoidGlobalVars
|
|
lib/ansible/modules/windows/win_domain_membership.ps1 PSAvoidUsingWMICmdlet
|
|
lib/ansible/modules/windows/win_domain_membership.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_domain_membership.ps1 PSUseApprovedVerbs
|
|
lib/ansible/modules/windows/win_domain_membership.ps1 PSUseDeclaredVarsMoreThanAssignments
|
|
lib/ansible/modules/windows/win_domain_user.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_dotnet_ngen.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_dsc.ps1 PSAvoidUsingEmptyCatchBlock
|
|
lib/ansible/modules/windows/win_dsc.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_eventlog.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_feature.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_file_version.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_find.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_find.ps1 PSAvoidUsingEmptyCatchBlock
|
|
lib/ansible/modules/windows/win_find.ps1 PSAvoidUsingWMICmdlet
|
|
lib/ansible/modules/windows/win_firewall_rule.ps1 PSAvoidUsingCmdletAliases
|
|
lib/ansible/modules/windows/win_firewall_rule.ps1 PSUseApprovedVerbs
|
|
lib/ansible/modules/windows/win_get_url.ps1 PSUsePSCredentialType # Credential param can take a base64 encoded string as well as a PSCredential
|
|
lib/ansible/modules/windows/win_hotfix.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_hotfix.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_hotfix.ps1 PSUseApprovedVerbs
|
|
lib/ansible/modules/windows/win_iis_virtualdirectory.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_iis_webapplication.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_iis_webapppool.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_iis_webapppool.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_iis_webbinding.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_iis_webbinding.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_iis_webbinding.ps1 PSUseApprovedVerbs
|
|
lib/ansible/modules/windows/win_iis_website.ps1 PSAvoidUsingCmdletAliases
|
|
lib/ansible/modules/windows/win_iis_website.ps1 PSAvoidUsingPositionalParameters
|
|
lib/ansible/modules/windows/win_iis_website.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_iis_website.ps1 PSUseDeclaredVarsMoreThanAssignments
|
|
lib/ansible/modules/windows/win_lineinfile.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_mapped_drive.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_msg.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_package.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_package.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_package.ps1 PSUseApprovedVerbs
|
|
lib/ansible/modules/windows/win_package.ps1 PSUsePSCredentialType
|
|
lib/ansible/modules/windows/win_pagefile.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_pagefile.ps1 PSAvoidUsingCmdletAliases
|
|
lib/ansible/modules/windows/win_pagefile.ps1 PSAvoidUsingPositionalParameters
|
|
lib/ansible/modules/windows/win_pagefile.ps1 PSAvoidUsingWMICmdlet
|
|
lib/ansible/modules/windows/win_pagefile.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_pagefile.ps1 PSUseDeclaredVarsMoreThanAssignments
|
|
lib/ansible/modules/windows/win_pagefile.ps1 PSUseSupportsShouldProcess
|
|
lib/ansible/modules/windows/win_pester.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_product_facts.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_product_facts.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_rabbitmq_plugin.ps1 PSAvoidUsingCmdletAliases
|
|
lib/ansible/modules/windows/win_rabbitmq_plugin.ps1 PSAvoidUsingInvokeExpression
|
|
lib/ansible/modules/windows/win_rabbitmq_plugin.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_rds_cap.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_rds_cap.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_rds_rap.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_rds_rap.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_rds_settings.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_regedit.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_region.ps1 PSAvoidUsingEmptyCatchBlock
|
|
lib/ansible/modules/windows/win_region.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_regmerge.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_regmerge.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_robocopy.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_route.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_route.ps1 PSAvoidUsingCmdletAliases
|
|
lib/ansible/modules/windows/win_scheduled_task.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_scheduled_task_stat.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_scheduled_task_stat.ps1 PSAvoidUsingCmdletAliases
|
|
lib/ansible/modules/windows/win_scheduled_task_stat.ps1 PSUseDeclaredVarsMoreThanAssignments
|
|
lib/ansible/modules/windows/win_security_policy.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_security_policy.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_security_policy.ps1 PSUseApprovedVerbs
|
|
lib/ansible/modules/windows/win_security_policy.ps1 PSUseDeclaredVarsMoreThanAssignments
|
|
lib/ansible/modules/windows/win_service.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_share.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_shell.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_shell.ps1 PSAvoidUsingCmdletAliases
|
|
lib/ansible/modules/windows/win_shell.ps1 PSUseApprovedVerbs
|
|
lib/ansible/modules/windows/win_shortcut.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_snmp.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_stat.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_say.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_say.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_tempfile.ps1 PSAvoidAssignmentToAutomaticVariable
|
|
lib/ansible/modules/windows/win_toast.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_unzip.ps1 PSAvoidUsingCmdletAliases
|
|
lib/ansible/modules/windows/win_unzip.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_unzip.ps1 PSUseApprovedVerbs
|
|
lib/ansible/modules/windows/win_updates.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_uri.ps1 PSAvoidUsingEmptyCatchBlock
|
|
lib/ansible/modules/windows/win_user.ps1 PSAvoidTrailingWhitespace
|
|
lib/ansible/modules/windows/win_user.ps1 PSAvoidUsingCmdletAliases
|
|
lib/ansible/modules/windows/win_user_profile.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_wait_for.ps1 PSAvoidUsingEmptyCatchBlock
|
|
lib/ansible/modules/windows/win_wait_for.ps1 PSCustomUseLiteralPath
|
|
lib/ansible/modules/windows/win_webpicmd.ps1 PSAvoidUsingInvokeExpression
|
|
lib/ansible/modules/windows/win_xml.ps1 PSCustomUseLiteralPath
|
|
test/integration/targets/win_audit_rule/library/test_get_audit_rule.ps1 PSAvoidUsingCmdletAliases
|
|
test/integration/targets/win_audit_rule/library/test_get_audit_rule.ps1 PSCustomUseLiteralPath
|
|
test/integration/targets/win_chocolatey/files/tools/chocolateyUninstall.ps1 PSCustomUseLiteralPath
|
|
test/integration/targets/win_chocolatey_source/library/choco_source.ps1 PSCustomUseLiteralPath
|
|
test/integration/targets/win_csharp_utils/library/ansible_basic_tests.ps1 PSAvoidTrailingWhitespace
|
|
test/integration/targets/win_csharp_utils/library/ansible_basic_tests.ps1 PSCustomUseLiteralPath
|
|
test/integration/targets/win_csharp_utils/library/ansible_basic_tests.ps1 PSUseDeclaredVarsMoreThanAssignments # test setup requires vars to be set globally and not referenced in the same scope
|
|
test/integration/targets/win_csharp_utils/library/ansible_become_tests.ps1 PSCustomUseLiteralPath
|
|
test/integration/targets/win_exec_wrapper/library/test_fail.ps1 PSCustomUseLiteralPath
|
|
test/integration/targets/win_iis_webbinding/library/test_get_webbindings.ps1 PSUseApprovedVerbs
|
|
test/integration/targets/win_module_utils/library/argv_parser_test.ps1 PSAvoidTrailingWhitespace
|
|
test/integration/targets/win_module_utils/library/argv_parser_test.ps1 PSUseApprovedVerbs
|
|
test/integration/targets/win_module_utils/library/backup_file_test.ps1 PSCustomUseLiteralPath
|
|
test/integration/targets/win_module_utils/library/camel_conversion_test.ps1 PSUseDeclaredVarsMoreThanAssignments
|
|
test/integration/targets/win_module_utils/library/command_util_test.ps1 PSCustomUseLiteralPath
|
|
test/integration/targets/win_psmodule/files/setup_modules.ps1 PSCustomUseLiteralPath
|
|
test/integration/targets/win_ping/library/win_ping_strict_mode_error.ps1 PSUseDeclaredVarsMoreThanAssignments
|
|
test/integration/targets/win_reboot/templates/post_reboot.ps1 PSCustomUseLiteralPath
|
|
test/integration/targets/win_script/files/test_script.ps1 PSAvoidUsingWriteHost
|
|
test/integration/targets/win_script/files/test_script_creates_file.ps1 PSAvoidUsingCmdletAliases
|
|
test/integration/targets/win_script/files/test_script_removes_file.ps1 PSCustomUseLiteralPath
|
|
test/integration/targets/win_script/files/test_script_with_args.ps1 PSAvoidUsingWriteHost
|
|
test/integration/targets/win_script/files/test_script_with_splatting.ps1 PSAvoidUsingWriteHost
|
|
test/integration/targets/win_stat/library/test_symlink_file.ps1 PSCustomUseLiteralPath
|
|
test/integration/targets/win_user_right/library/test_get_right.ps1 PSCustomUseLiteralPath
|
|
test/runner/setup/windows-httptester.ps1 PSCustomUseLiteralPath
|