summaryrefslogtreecommitdiffstats
path: root/ansible_collections/lowlydba/sqlserver/plugins/modules/spn.ps1
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:52:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:52:35 +0000
commit7fec0b69a082aaeec72fee0612766aa42f6b1b4d (patch)
treeefb569b86ca4da888717f5433e757145fa322e08 /ansible_collections/lowlydba/sqlserver/plugins/modules/spn.ps1
parentReleasing progress-linux version 7.7.0+dfsg-3~progress7.99u1. (diff)
downloadansible-7fec0b69a082aaeec72fee0612766aa42f6b1b4d.tar.xz
ansible-7fec0b69a082aaeec72fee0612766aa42f6b1b4d.zip
Merging upstream version 9.4.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/lowlydba/sqlserver/plugins/modules/spn.ps1')
-rw-r--r--ansible_collections/lowlydba/sqlserver/plugins/modules/spn.ps14
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible_collections/lowlydba/sqlserver/plugins/modules/spn.ps1 b/ansible_collections/lowlydba/sqlserver/plugins/modules/spn.ps1
index 12c953bcc..2b8543b05 100644
--- a/ansible_collections/lowlydba/sqlserver/plugins/modules/spn.ps1
+++ b/ansible_collections/lowlydba/sqlserver/plugins/modules/spn.ps1
@@ -7,7 +7,7 @@
#AnsibleRequires -CSharpUtil Ansible.Basic
#AnsibleRequires -PowerShell ansible_collections.lowlydba.sqlserver.plugins.module_utils._SqlServerUtils
-#Requires -Modules @{ ModuleName="dbatools"; ModuleVersion="1.1.112" }
+#Requires -Modules @{ ModuleName="dbatools"; ModuleVersion="2.0.0" }
$ErrorActionPreference = "Stop"
@@ -32,7 +32,7 @@ if ($null -ne $module.Params.computer_username) {
$computer = $module.Params.computer
$serviceAccount = $module.Params.service_account
$serviceClass = "MSSQLSvc"
-$spn = "$serviceClass\$computer"
+$spn = "$serviceClass/$computer"
$state = $module.Params.state
$checkMode = $module.CheckMode
$module.Result.changed = $false