win_psexec: Change default for -nobanner (#24739)
* win_psexec: Change default for -nobanner * Update documentation too
This commit is contained in:
parent
4fb283a4e3
commit
6b7d669a2b
2 changed files with 3 additions and 2 deletions
|
@ -30,7 +30,7 @@ $username = Get-AnsibleParam -obj $params -name "username" -type "str"
|
|||
$password = Get-AnsibleParam -obj $params -name "password" -type "str"
|
||||
$chdir = Get-AnsibleParam -obj $params -name "chdir" -type "path"
|
||||
$wait = Get-AnsibleParam -obj $params -name "wait" -type "bool" -default $true
|
||||
$nobanner = Get-AnsibleParam -obj $params -name "nobanner" -type "bool" -default $true
|
||||
$nobanner = Get-AnsibleParam -obj $params -name "nobanner" -type "bool" -default $false
|
||||
$noprofile = Get-AnsibleParam -obj $params -name "noprofile" -type "bool" -default $false
|
||||
$elevated = Get-AnsibleParam -obj $params -name "elevated" -type "bool" -default $false
|
||||
$limited = Get-AnsibleParam -obj $params -name "limited" -type "bool" -default $false
|
||||
|
|
|
@ -58,7 +58,8 @@ options:
|
|||
nobanner:
|
||||
description:
|
||||
- Do not display the startup banner and copyright message.
|
||||
default: 'yes'
|
||||
- This only works for specific versions of the PsExec binary.
|
||||
default: 'no'
|
||||
choices: [ 'no', 'yes' ]
|
||||
version_added: '2.4'
|
||||
noprofile:
|
||||
|
|
Loading…
Reference in a new issue